In the shader, whenever I access ‘depthColor’ it just stops working (no errors).
I am guessing my setup with the depth texture is not right because if I just provide “{}” to effect.setTexture, I will get the same result. But the texture, by name, checks out as “prePass_Depth”.
Trying to do soft particles (and learning to write shader code ).
I would prefer the PrePassRenderer because, in my local project, I have it on already. So I was hoping I could use the depth texture from it rather than having to add the DepthRenderer (+1 draw call).