Last change
on this file since 12181 was
12115,
checked in by wiesep, 6 years ago
|
Changed folder structure, deletet some unused files and cleaned up code
|
File size:
363 bytes
|
Rev | Line | |
---|
[12115] | 1 | #version 400 core |
---|
| 2 | |
---|
| 3 | uniform float g_fTessellationFactor; |
---|
| 4 | |
---|
| 5 | // GLSL tessellation control shader. |
---|
| 6 | layout (vertices = 3) out; |
---|
| 7 | void main() |
---|
| 8 | { |
---|
| 9 | gl_TessLevelOuter[0] = gl_TessLevelOuter[1] = gl_TessLevelOuter[2] = g_fTessellationFactor; |
---|
| 10 | gl_TessLevelInner[0] = g_fTessellationFactor; |
---|
| 11 | |
---|
| 12 | gl_out[gl_InvocationID].gl_Position = gl_in[gl_InvocationID].gl_Position; |
---|
| 13 | } |
---|
| 14 | |
---|
Note: See
TracBrowser
for help on using the repository browser.