diff options
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/simple.fs | 15 | ||||
-rw-r--r-- | shaders/simple.vs | 16 |
2 files changed, 0 insertions, 31 deletions
diff --git a/shaders/simple.fs b/shaders/simple.fs deleted file mode 100644 index cc7f812..0000000 --- a/shaders/simple.fs +++ /dev/null @@ -1,15 +0,0 @@ -#version 330 core -in vec2 TexCoord; - -out vec4 color; - -uniform sampler2D blockTexture; -uniform int block; -uniform float time; - -void main() -{ - color = texture(blockTexture,TexCoord); - //color = vec4(TexCoord.x,TexCoord.y,0.0,1.0); -} - diff --git a/shaders/simple.vs b/shaders/simple.vs deleted file mode 100644 index ca99e85..0000000 --- a/shaders/simple.vs +++ /dev/null @@ -1,16 +0,0 @@ -#version 330 core -layout (location = 0) in vec3 position; -layout (location = 2) in vec2 texCoord; - -out vec2 TexCoord; - -uniform mat4 model; -uniform mat4 view; -uniform mat4 projection; - -void main() -{ - gl_Position = projection * view * model * vec4(position, 1.0f); - TexCoord = vec2(texCoord.x, texCoord.y); - //TexCoord = texCoord; -}
\ No newline at end of file |