Initial commit

This commit is contained in:
github-classroom[bot] 2024-11-29 09:50:03 +00:00 committed by GitHub
commit 686dcaf351
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
68 changed files with 6230 additions and 0 deletions

18
glsl/pass-through.tcs Normal file
View file

@ -0,0 +1,18 @@
layout (vertices = 3) out;
in vec4 pos_cs_in[];
out vec4 pos_es_in[];
void main()
{
// Calculate the tess levels
if(gl_InvocationID == 0)
{
gl_TessLevelOuter[0] = 1;
gl_TessLevelOuter[1] = 1;
gl_TessLevelOuter[2] = 1;
gl_TessLevelInner[0] = 1;
}
pos_es_in[gl_InvocationID] = pos_cs_in[gl_InvocationID];
}