feat(2): Task 2

This commit is contained in:
Tibo De Peuter 2024-12-06 14:19:00 +01:00
parent 0afa923678
commit 7832cb21ac
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -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];
/////////////////////////////////////////////////////////////////////////////
}