diff options
Diffstat (limited to 'gfx/gl/shaders/uiShader.vs')
-rw-r--r-- | gfx/gl/shaders/uiShader.vs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gfx/gl/shaders/uiShader.vs b/gfx/gl/shaders/uiShader.vs new file mode 100644 index 0000000..0d00fed --- /dev/null +++ b/gfx/gl/shaders/uiShader.vs @@ -0,0 +1,13 @@ +#version 130 + +in vec4 position; + +out vec2 texCoord0; +uniform mat4 uiProjection; + +void +main() +{ + gl_Position = uiProjection * vec4(position.xy, 0.0, 1.0); + texCoord0 = position.zw; +} |