fix standard shader normal bug.
This commit is contained in:
Binary file not shown.
@@ -43,6 +43,7 @@ SubShader
|
|||||||
|
|
||||||
void vert(inout appdata_full v)
|
void vert(inout appdata_full v)
|
||||||
{
|
{
|
||||||
|
uddBendNormal(v.vertex.x, v.normal, _Radius, _Width);
|
||||||
uddBendVertex(v.vertex.xyz, _Radius, _Width, _Thickness);
|
uddBendVertex(v.vertex.xyz, _Radius, _Width, _Thickness);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user