This repository has been archived on 2024-12-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2024CG-project-render/glsl/pass-through.tes
github-classroom[bot] 686dcaf351
Initial commit
2024-11-29 09:50:03 +00:00

10 lines
233 B
Text

layout(triangles, equal_spacing, ccw) in;
in vec4 pos_es_in[];
out vec4 pos_fs_in;
// expects: interpolate
void main()
{
pos_fs_in = interpolate(gl_TessCoord,pos_es_in[0], pos_es_in[1], pos_es_in[2]);
gl_Position = pos_fs_in;
}