Distance Field is disappearing while camera moves away - simple foam shader

You could make the distance division be driven by the distance to the camera

The further away you are from the camera the more you have to exaggerate the effect (give it more pixels to make up for the distance)

You can try going into world settings and adjust “Global distance field view distance” if it’s being cut off by the engine itself.

obraz

1 Like