drawDepth.frag 206 B

1234567891011121314
  1. #version 330 core
  2. layout(location = 0) out vec4 outColor;
  3. in vec2 v_texCoords;
  4. uniform sampler2D u_depth;
  5. void main()
  6. {
  7. //float c = texture2D(u_depth, v_texCoords).r;
  8. outColor.rgba = vec4(1,0,1,1);
  9. }