I'm writing a shader that simulates a stylized light and writes a stencil value to the buffer so other shaders can utilize and render correctly.
However, the debugger doesn't seem to recognize the other values and only writes 0 all over the screen like the image below.
I also attached the sample project below, it uses Unity 6 LTS.
Fake Lights.zip

I'm writing a shader that simulates a stylized light and writes a stencil value to the buffer so other shaders can utilize and render correctly.
However, the debugger doesn't seem to recognize the other values and only writes 0 all over the screen like the image below.
I also attached the sample project below, it uses Unity 6 LTS.
Fake Lights.zip