diff options
Diffstat (limited to 'shaders/warsow/30.shader_test')
-rw-r--r-- | shaders/warsow/30.shader_test | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/shaders/warsow/30.shader_test b/shaders/warsow/30.shader_test deleted file mode 100644 index 04dc676..0000000 --- a/shaders/warsow/30.shader_test +++ /dev/null @@ -1,26 +0,0 @@ -[require] -GLSL >= 1.10 - -[fragment shader] -#version 130 -uniform sampler2D texSampler; -in vec3 texCoords; -out vec4 out_color; - -void main() -{ - out_color = texture(texSampler, texCoords.xy); -} - -[vertex shader] -#version 130 -in vec2 position; -in vec3 textureCoords; -out vec3 texCoords; -void main() -{ - texCoords = textureCoords; - gl_Position = vec4(position, 0.0, 1.0); -} - - |