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.fs
github-classroom[bot] 686dcaf351
Initial commit
2024-11-29 09:50:03 +00:00

8 lines
137 B
GLSL

in vec4 pos_fs_in;
out vec3 color;
void main()
{
// Set color to screen position to show something
color = 0.5+0.5*pos_fs_in.xyz;
}