Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Kovalski | |
Old Version | Published before Godot 3 was released. |
is it possible to apply fog only to cetrain nodes? can it be done without using shaders?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Kovalski | |
Old Version | Published before Godot 3 was released. |
is it possible to apply fog only to cetrain nodes? can it be done without using shaders?
Reply From: | Zylann |
That sounds possible with a fragment shader, though you will need to turn off the default fog and compute the custom fog yourself then.
A simple way (but not the best) is to get the depth of the pixel being rendered and shade it more or less depending on its value.
Without shaders? I don’t see an option for that. What are your trying to do? Are these nodes actually in the game world?
Thank you! I will try make it in this way.
Yes. These nodes are located in the game world.
Kovalski | 2017-02-28 23:54