OpenGL2: Change normal/tangent vertex encoding.

This commit is contained in:
SmileTheory committed 2014-10-28 18:15:13 -07:00
1 parent 7e808f92d6
commit e488663e31
8 files changed
+108 -56

No files matched your search

+1 -1
View File
@@ -11,5 +11,5 @@ void main()
gl_Position = u_ModelViewProjectionMatrix * vec4(attr_Position, 1.0);
var_Position = attr_Position;
var_Normal = attr_Normal * 2.0 - vec3(1.0);
var_Normal = attr_Normal;
}