설명 없음

triangle.frag 257B

12345678910111213
  1. #version 450
  2. #extension GL_ARB_separate_shader_objects : enable
  3. #extension GL_ARB_shading_language_420pack : enable
  4. layout (location = 0) in vec3 inColor;
  5. layout (location = 0) out vec4 outFragColor;
  6. void main()
  7. {
  8. outFragColor = vec4(inColor, 1.0);
  9. }