- Home /
Question by
R4s3tsu · Aug 08, 2020 at 10:07 AM ·
shadowsvertex shaderlightning
Shader not receiving the normal bias offsets from the lights
Hello there, can shader sirs help me with some problem with custom lighting pass shader?
I'm implementing a screen space sss for the skin, both forward+deferred paths, so need to use custom lighting pass, which is vertex frag shader, but I've got a problem with it, looks like it's not receiving the normal bias offset from the light settings, causing shadow acne. I'm not much familiar with hlsl and especially vertex frag shaders, but I've got
TRANSFER_SHADOW_CASTER_NORMALOFFSET(o) which should be responsible for that for some reason but it's not.
lp.zip
(7.1 kB)
Comment