Reinstate a line which was commented out for debugging purposes
This commit is contained in:
parent
6357b7b629
commit
c9dda8b418
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
|||
|
||||
in vec2 pos;
|
||||
in vec2 textureUV;
|
||||
uniform mat4 sh_Model;
|
||||
uniform mat4 sh_Ortho;
|
||||
uniform mat3 paintInverted;
|
||||
|
||||
out vec2 texImageCoord;
|
||||
|
@ -10,7 +12,7 @@ out vec2 paintCoord;
|
|||
|
||||
void main()
|
||||
{
|
||||
// gl_Position = vec4(pos, 0, 1);
|
||||
gl_Position = vec4(pos, 0, 1);
|
||||
texImageCoord = textureUV;
|
||||
paintCoord = (paintInverted * vec3(pos, 1)).xy;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue