[DEBUG] missing translation matrix
This commit is contained in:
parent
e912cd44e3
commit
4e88d081d8
@ -7,12 +7,13 @@ precision mediump int;
|
||||
attribute vec3 EW_coord3d;
|
||||
attribute vec4 EW_color;
|
||||
uniform mat4 EW_MatrixTransformation;
|
||||
uniform mat4 EW_MatrixPosition;
|
||||
|
||||
// output :
|
||||
varying vec4 f_color;
|
||||
|
||||
void main(void) {
|
||||
gl_Position = EW_MatrixTransformation * vec4(EW_coord3d, 1.0);
|
||||
gl_Position = EW_MatrixTransformation * EW_MatrixPosition * vec4(EW_coord3d, 1.0);
|
||||
//gl_Position = gl_ProjectionMatrix * gl_ModelViewMatrix * vec4(EW_coord2d, 0.0, 1.0);
|
||||
f_color = EW_color;
|
||||
}
|
||||
|
2
external/ege
vendored
2
external/ege
vendored
@ -1 +1 @@
|
||||
Subproject commit 13c661d29fc3b5cb08f1478046a150f556257b97
|
||||
Subproject commit 59a2162deb1cf0e1cad78f11f2bc1ffe36619baf
|
Loading…
x
Reference in New Issue
Block a user