Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/data_extern/programs/GLSL400/TessellationTh.glsl @ 12232

Last change on this file since 12232 was 12115, checked in by wiesep, 6 years ago

Changed folder structure, deletet some unused files and cleaned up code

File size: 363 bytes
Line 
1#version 400 core
2
3uniform float g_fTessellationFactor;
4
5// GLSL tessellation control shader.
6layout (vertices = 3) out;
7void 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.