- Home /
Question by
GeorgeDoodlebug · Jul 03, 2017 at 09:53 AM ·
shadershadersshader programmingimage effectsdepth-buffer
Modifying the depth buffer of an image effect?
So, I basically want an image effect to modify the Image and the Depth buffer ready for further image effects. For the sake of argument, this is to "tile" the screen.
Obviously modifying the image is trivial using the "frag" method in a shader but is it possible to modify _CameraDepthTexture? If not then could I perhaps output multiple textures from the image effect?
Comment
Did you ever find a way to do this? It looks like output using SV_Depth is ignored.
Your answer
Follow this Question
Related Questions
Shader - What is float3.xy? 1 Answer
Apply an affine transformation 2 Answers
Unlit Transparent With Color Support 1 Answer
create a texture with shader code? ( without using a texture ) 1 Answer
How to add Emission to my custom shader? 2 Answers