Open alice-i-cecile opened 1 month ago
This wasn't done the right way, I don't think. What I suggested was to make the FOG_ENABLED shader def contingent on whether the view has fog, not whether the material had a flag that disables it.
FOG_ENABLED
Originally posted by @pcwalton in https://github.com/bevyengine/bevy/issues/13783#issuecomment-2159306477
It does work correctly, so it's not technically a bug, it's just not designed optimally I don't think.
This PR also caused a regression with fog in general, so for now we should just revert it.
Originally posted by @pcwalton in https://github.com/bevyengine/bevy/issues/13783#issuecomment-2159306477