| 12345678910 |
- #version 450
- #extension GL_ARB_separate_shader_objects : enable
-
- layout(quads, equal_spacing, ccw, point_mode) in;
-
- void main() {
- float x = (gl_TessCoord.x - 0.5) * 2.0;
- float y = (gl_TessCoord.y - 0.5) * 2.0;
- gl_Position = vec4(x * 0.9, y * 0.9, 0.5, 1.0);
- }
|