|Topic was automatically imported from the old Question2Answer platform.
I would like to have an unlit constant color material that receives and casts shadows and also reacts to depth fog.
i gotta admit that i am kind of overwhelmed by shaders and i usually just copy paste stuff i find from the web.
For Unity i used a shader from this thread:
By copy pasting some fog lines i managed to make it work with fog too.
Unfortunately im not sure how to do this in godot. Would like to use the WorldEnvironent depth fog but it only seems to work with shaded materials.
If anyone can point me into the right direction it would be much appreciated!