played a bit with shaders .. won't render.
This commit is contained in:
parent
7c8c7cac98
commit
cea71238f1
@ -14,7 +14,6 @@ out vec3 vNormal;
|
|||||||
|
|
||||||
void main () {
|
void main () {
|
||||||
vPosition = Position;
|
vPosition = Position;
|
||||||
gl_Position = vec4(Position, 1.0);
|
gl_Position = ProjectionMatrix * ViewMatrix * vec4(Position, 1);
|
||||||
vNormal = Normal;
|
vNormal = Normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user