diff options
Diffstat (limited to 'shaders/0ad/6.shader_test')
-rw-r--r-- | shaders/0ad/6.shader_test | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/shaders/0ad/6.shader_test b/shaders/0ad/6.shader_test new file mode 100644 index 0000000..2bdc44d --- /dev/null +++ b/shaders/0ad/6.shader_test @@ -0,0 +1,21 @@ +[require] +GLSL >= 1.10 + +[fragment shader] +#version 130 +uniform ivec4 color; +out ivec4 out_color; + +void main() +{ + out_color = color; +} + +[vertex shader] +#version 130 +in vec4 position; +void main() +{ + gl_Position = position; +} + |