add scene render system, add proper HDR environments, try load texture from mesh file
This commit is contained in:
@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user