spv.texture.sampler.transform.frag 168 B

1234567891011121314
  1. #version 440
  2. uniform sampler smp;
  3. uniform texture2D tex;
  4. in vec2 coord;
  5. out vec4 color;
  6. void main()
  7. {
  8. color = texture(sampler2D(tex, smp), coord);
  9. }