You need to compile the vertex shaders as well. The vertex shaders pass the vertex depth to the pixel shader to compare it against the depth of the rest of the scene from the gbuffer and fade the particle when it gets close to another surface.
There are currently 2 users browsing this thread. (0 members and 2 guests)
Bookmarks