This commit is contained in:
2026-05-06 17:52:45 -07:00
parent 9fc3f35125
commit 1463c23334
402 changed files with 3758 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#version 450
in vec3 mpos;
in vec3 normal;
// Color of each fragment on the screen
out vec4 fragColor;
void main() {
// Shadeless red color
//fragColor = vec4(1.0,0.0,0.0,0.0);
// Assuming forward rendering path for simplicity
vec3 col = (mpos + vec3(1.0)) / 8.0;
col += normal * 0.1;
fragColor = vec4(col, 1.0);
}