diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-12-12 16:12:01 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-12-12 16:12:01 +0000 |
commit | 6c268e0f98722c3253366b639a3a0abe37c8835d (patch) | |
tree | 409376e0b302009d29ed27dcb4601f037f377e6f /gfx/gl/shaders/uiShader.fs | |
parent | Move program handle to its own files (diff) | |
download | ilt-6c268e0f98722c3253366b639a3a0abe37c8835d.tar.bz2 ilt-6c268e0f98722c3253366b639a3a0abe37c8835d.tar.xz ilt-6c268e0f98722c3253366b639a3a0abe37c8835d.zip |
Introduce the UI shader
Diffstat (limited to 'gfx/gl/shaders/uiShader.fs')
-rw-r--r-- | gfx/gl/shaders/uiShader.fs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx/gl/shaders/uiShader.fs b/gfx/gl/shaders/uiShader.fs new file mode 100644 index 0000000..907c4f1 --- /dev/null +++ b/gfx/gl/shaders/uiShader.fs @@ -0,0 +1,11 @@ +#version 130 + +in vec2 texCoord0; + +uniform sampler2D sampler; + +void +main() +{ + gl_FragColor = texture(sampler, texCoord0); +} |