Question by
FeeeshMeister · Jan 02, 2017 at 11:29 PM ·
directional lightshadingprimitivesper-pixel-lighting
How can I fix this shading problem?
I have a problem with objects casting unusual shadows.To my knowledge, each face should be one color, with no variance except between different faces (if that makes sense). Is this problem because I am using per-pixel lights on a primitive? If that is the case, is it possible for some objects to be vertex-lit while others are using per-pixel?
Thanks in advance.
unusual-shadows.png
(2.3 kB)
Comment
Best Answer
Answer by FeeeshMeister · Jan 04, 2017 at 01:35 AM
It turns out the bias was doing something weird with my shader. I don't know what it is supposed to do, but setting it to the maximum value made it stop happening.
Your answer
