- Home /
Standard fade shader lit through walls
Hey, I'm having a problem with the standard fade shader. If you check the attached screenshot, you can see how the first screen works as intended.
In the second screen, I added a wall, thus I expected the blood texture to be affected by the shadow, which it isn't. The wall itself is working correctly, as you can see from the screenshot.
Another note, if the blood texture uses any other mode but "fade", everything works as expected. However the texture looks best with the fade mode. So does the fade mode just ignore the wall, or am I doing something wrong? Is there anything else I can do?
The fade mode is to control transparency, sort of. I'm not altogether sure that it's affected by lights. Although a workaround could be to cut the texture into two parts (shadowed and not) and reimport it, each having different shaders. That's definitely not an optimal solution, but, should work. link text
this might help with the shader types and effects
Answer by RLin · Jul 24, 2015 at 12:38 PM
Fade mode is used as a sort of consistent transparency. As such, it sometimes does not respond correctly to lighting. You could use the other transparency modes of they are suitable.