- Home /
Assigning vertex normal in Surface program to o.Normal brakes lighting?
I have encountered strange problem. If I get v.normal in vertex program and pass it to surface program and assign it to o.Normal - light is breaking, like there are incorrect normal. But I just take vertex normal, no manipulations. Am I doing something wrong?
Comment
Your answer
Follow this Question
Related Questions
Problem of color in custom vertex shader 0 Answers
Why changing the normal affects the viewDir? 1 Answer
How do I obtain the surface normal for a point on a collider (can't use RaycastHit.normal)? 3 Answers
Implementing Custom Vertex Lighting Shader 1 Answer
How do I incorporate per-vertex lighting data into a surface shader? 0 Answers