Output works on debug input but not in albedo
Posted: Sat Jan 19, 2019 1:50 am
Hello!
I'm trying to make a shader that makes the object transparent depending on distance but there's an isue.
This is the shader:
https://imgur.com/42smKPQ
This is the output:
https://imgur.com/ohl6hYH
For some reason the Texture is making it all white and can't find the reason, if I pass the color directly everything works.
Stranger still when I take the output to the Debug it works.
https://imgur.com/sAzLIVi
I'm trying to make a shader that makes the object transparent depending on distance but there's an isue.
This is the shader:
https://imgur.com/42smKPQ
This is the output:
https://imgur.com/ohl6hYH
For some reason the Texture is making it all white and can't find the reason, if I pass the color directly everything works.
Stranger still when I take the output to the Debug it works.
https://imgur.com/sAzLIVi