Açıklama Yok

attachmentread.vert 172B

12345678910
  1. #version 450
  2. out gl_PerVertex {
  3. vec4 gl_Position;
  4. };
  5. void main()
  6. {
  7. gl_Position = vec4(vec2((gl_VertexIndex << 1) & 2, gl_VertexIndex & 2) * 2.0f - 1.0f, 0.0f, 1.0f);
  8. }