Fallback to LUT-less tonemapping if compiled without tonemapping_luts
#9131
Labels
C-Feature
A new feature, making something new possible
S-Needs-Triage
This issue needs to be labelled
What problem does this solve or what need does it fill?
Programs compiled without default features (specifically without
tonemapping_luts
) are now broken in runtime when not explicitly specifying a tone mapping method. This is especially confusing when migrating from pre-0.11 and is hard to figure out from the migration guide.What solution would you like?
When using a tone mapping method that requires LUTs, but compiled without LUTs, write a warning and fall back to a different tone mapping method (or disable tone mapping altogether).
What alternative(s) have you considered?
tonemapping_fallback
option that only includes LUT-less options.Tonemapping::TonyMcMapfaceWithFallback
variant as the new default, and have it fallback toReinhardLuminance
Additional context
bevy_mod_raycast
to the new version and had the examples break.The text was updated successfully, but these errors were encountered: