Initial commit
This commit is contained in:
10
documents/Tesselation_Tutorial/shader/tess_tri_tes.txt
Normal file
10
documents/Tesselation_Tutorial/shader/tess_tri_tes.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
#version 410 core
|
||||
|
||||
layout(triangles, equal_spacing, ccw) in;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position.xyzw = gl_in[0].gl_Position.xyzw * gl_TessCoord.x +
|
||||
gl_in[1].gl_Position.xyzw * gl_TessCoord.y +
|
||||
gl_in[2].gl_Position.xyzw * gl_TessCoord.z;
|
||||
}
|
||||
Reference in New Issue
Block a user