shader/sprite_frag.glsl

changeset 50
d8d2e4817db1
parent 40
6c438be1a1fd
     1.1 --- a/shader/sprite_frag.glsl	Mon Apr 01 19:44:00 2024 +0200
     1.2 +++ b/shader/sprite_frag.glsl	Tue Apr 09 21:18:52 2024 +0200
     1.3 @@ -3,8 +3,8 @@
     1.4  layout(location = 0) out vec4 diffuse;
     1.5  in vec2 texcoord;
     1.6  
     1.7 -uniform sampler2DRect surface;
     1.8 +uniform sampler2DRect tex;
     1.9  
    1.10  void main(void) {
    1.11 -    diffuse = texture(surface, texcoord);
    1.12 +    diffuse = texture(tex, texcoord);
    1.13  }

mercurial