- Home /
What's in unity_LightShadowBias?
I've studied shader especially lighting recently.
When I was writing a code about shadow on unlit shader, I was confused by "unity_LightShadowBias". What's in unity_LightShadowBias? I expect unity_LightShadowBias.x has Directional Light's "Bias" value, or unity_LightShadowBias.z has Directional Light's "Normal Bias". However, when I examine it, it appears that's not true.
I think unity_LightShadowBias may has a value related to Bias or Normal Bias used at making shadow map, but I don't know what it actually has. By the way, I understand Bias or Normal Bias's meaning.
Anyone teach me? I'm Japanese so my English may be hard to understand, sorry.
Your answer
Follow this Question
Related Questions
Using shadow texture to recieve shadows (on grass) 1 Answer
cast shadow - export lightmap from 3ds max to unity 2 Answers
Unity 5 Light problem 2 Answers
Jelly Defense like Planet Lighting/Shading? 1 Answer
_LightMatrix0 and Directional Light 1 Answer