feat(2): Task 2
This commit is contained in:
parent
0afa923678
commit
7832cb21ac
1 changed files with 8 additions and 1 deletions
|
@ -14,7 +14,14 @@ void main()
|
|||
{
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Replace with your code:
|
||||
pos_es_in[gl_InvocationID] = pos_cs_in[gl_InvocationID];
|
||||
// Hard-code each tessellation level to 5
|
||||
gl_TessLevelOuter[0] = 5;
|
||||
gl_TessLevelOuter[1] = 5;
|
||||
gl_TessLevelOuter[2] = 5;
|
||||
gl_TessLevelInner[0] = 5;
|
||||
|
||||
// Pass through the input vertices
|
||||
pos_es_in[gl_InvocationID] = pos_cs_in[gl_InvocationID];
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue