OpenGL2: Change normal/tangent vertex encoding.
This commit is contained in:
1 parent
7e808f92d6
commit
e488663e31
8 files changed
+108
-56
No files matched your search
@@ -80,7 +80,6 @@ void main()
|
||||
{
|
||||
vec3 position = mix(attr_Position, attr_Position2, u_VertexLerp);
|
||||
vec3 normal = mix(attr_Normal, attr_Normal2, u_VertexLerp);
|
||||
normal = normalize(normal - vec3(0.5));
|
||||
|
||||
position = DeformPosition(position, normal, attr_TexCoord0.st);
|
||||
|
||||
|
||||
Reference in new issue
Block a user