- Home /
Question by
Razputin · May 06, 2021 at 06:27 PM ·
shadertransparentsee through
Sprite Rendering Behind Transparent Shader
I have a shader that is used to see through walls when the player is behind them. (Pic 2)
However due to the way transparent shaders work it's sometimes rendering my player behind 3D objects, despite him not actually behind behind them.
I know it's the shader because the player renders correctly when it's not applied.
What can I change in my shader to make this work as intended, I am using Shader Graph to create my shaders.
Thanks.
Shader Graph in comments
acti.png
(222.7 kB)
123456.png
(331.5 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613033407im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
About shader! 0 Answers
Help me for the Green To Transparent (video) 1 Answer
Unity Fog Shader with Alpha Change 0 Answers
[Solved] Shader: cutout shader over a texture 1 Answer
Transparent with Specular Only shader 0 Answers