add scene render system, add proper HDR environments, try load texture from mesh file

This commit is contained in:
2025-11-30 20:12:57 +08:00
parent 4cdd405ba9
commit 0d4024be39
62 changed files with 2302 additions and 1037 deletions

View File

@ -22,11 +22,14 @@ void main()
layout(location = 0) out vec4 finalColor;
//uniform vec4 u_Color;
uniform vec4 u_Color;
in vec3 v_Normal;
void main()
{
finalColor = vec4(0.8, 0.0, 0.8, 1.0);
finalColor = vec4((v_Normal * 0.5 + 0.5), 1.0);// * u_Color.xyz, 1.0);
}