vertex_fragment.glsl 281 B

1234567891011121314151617181920212223242526
  1. #[vertex]
  2. #version 450
  3. #VERSION_DEFINES
  4. #include "_included.glsl"
  5. layout(location = 0) out vec2 uv_interp;
  6. void main() {
  7. uv_interp = vec2(0, 1);
  8. }
  9. #[fragment]
  10. #version 450
  11. #VERSION_DEFINES
  12. layout(location = 0) in vec2 uv_interp;
  13. void main() {
  14. uv_interp = vec2(1, 0);
  15. }