- Home /
Scene Depth node in Shader Graph
I'm using the outline shader graph from https://alexanderameye.github.io/outlineshader.html to draw the outline. However I would like to get the depth for the outlines. The outline custom function returns o or 1 as edge color edge.
Trying to add using the Scene Depth node but getting error "redefinition of _CameraDepthTexture". Here is the screen shot of the Shader Graph
depth-shader-graph.jpg
(265.6 kB)
Comment
Your answer
Follow this Question
Related Questions
Porting from ShaderToy(GLSL) to shaderlab(HLSL/CG) unity not giving me the desired result. 2 Answers
Shader Graph transparency issue 0 Answers
How do I keep an object lit when a light moves past it? 0 Answers
Found undocumented ZTest mode, unity_GUIZTestMode for Shader. What kind of ZTest mode this is? 3 Answers
Set list in shader (uniform) 1 Answer