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
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user