From 8ac4fe6d5ba5091923c7fdf1fa88724d827706fa Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 26 May 2017 19:11:17 +0500 Subject: 2017-05-26 --- cwd/shaders/simple.fs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 cwd/shaders/simple.fs (limited to 'cwd/shaders/simple.fs') diff --git a/cwd/shaders/simple.fs b/cwd/shaders/simple.fs new file mode 100644 index 0000000..cc7f812 --- /dev/null +++ b/cwd/shaders/simple.fs @@ -0,0 +1,15 @@ +#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); +} + -- cgit v1.2.3