depressed-pho / natural-mystic-shaders

Shader pack for Minecraft Bedrock aliming to be as realistic as possible
Creative Commons Zero v1.0 Universal
28 stars 3 forks source link

Use exponential squared fog instead of linear one #12

Closed depressed-pho closed 5 years ago

depressed-pho commented 5 years ago

This is currently infeasible due to the way how the game uses fogs. If we use an exponential one, it will interfere with the "render distance fog" quite badly.

See: http://in2gpu.com/2014/07/22/create-fog-shader/

depressed-pho commented 5 years ago

Or perhaps we can hack it by detecting fog types using FOG_CONTROL.x and y? That would be prone to a future breakage though.