shaders/soften-borders.frag
branchv_0
changeset 28 4cbd9c0beb4c
parent 18 c4384f43c739
equal deleted inserted replaced
27:2a156cb51479 28:4cbd9c0beb4c
     1 #version 330 core
     1 #version 330 core
     2 
     2 
     3 uniform  sampler2D  uTexture;
     3 uniform  sampler2D  uTexture;
       
     4 uniform  float      uTextureScale;
     4 in       vec2       vTextureXY;
     5 in       vec2       vTextureXY;
     5 out      vec4       fColor;
     6 out      vec4       fColor;
     6 
     7 
     7 void main() {
     8 void main() {
     8 	fColor = texture(uTexture, vTextureXY).rgba;
     9 	fColor = texture(uTexture, vTextureXY).rgba;