DKGL2 sample codes

texture.frag 213B

123456789101112
  1. #version 450
  2. layout (binding = 1) uniform sampler2D samplerColor;
  3. layout (location = 0) in vec2 inUV;
  4. layout (location = 0) out vec4 outFragColor;
  5. void main()
  6. {
  7. outFragColor = texture(samplerColor, inUV);
  8. }