CameraDepth-Texture Replacement Shader BUILD PROBLEM

Hi,

I am using a slightly modified CameraDepth-Texture (and w/ Normals variant too) and was noticing that when I build, the shaders are not used. How do I use replacement shader techniques for these two built-in shaders?

Editor playing works fine, and so do my other built-in replacement shaders (WavingGrass).

Thanks.

I ask myself the same question today, so here is the very late answer :smile:

You have to put your modified Camera-DepthTexture shader in the Resources folder, so the shader is added to the build.
If it’s not in the resources folder, the built-in Camera-DepthTexture shader will be used.

1 Like