Inspirateur / riverbed

A Minecraft-inspired Bevy game
MIT License
17 stars 0 forks source link

Add fog #6

Closed Inspirateur closed 3 months ago

Inspirateur commented 3 months ago

A good fog creates a better sense of distance for the player when they see far away mountains and helps to hide LOD artefacts.

In order to implement fog the current custom Material (used for texture arrays) needs to be replaced by a bevy ExtensionMaterial, but I haven't figured out how to do that yet.

Contribute to this bevy issue if you want to help me and others figure out how to use fog with texture arrays in bevy: https://github.com/bevyengine/bevy/issues/12591

Inspirateur commented 3 months ago

done !