Quads
This commit is contained in:
@@ -561,6 +561,7 @@ void main()
|
||||
float ao = 1;
|
||||
vec3 ambient = vec3(0.05) * diffuse.xyz * ao;
|
||||
vec3 Lo = ambient;
|
||||
|
||||
if(metal_rough[0] > 0)
|
||||
{
|
||||
uFragColor = vec4(diffuse.xyz * metal_rough[0], diffuse.a);
|
||||
@@ -655,7 +656,7 @@ void main()
|
||||
uFragColor = vec4(output_color, 1.0);
|
||||
}
|
||||
|
||||
|
||||
//uFragColor = vec4(normal,1);
|
||||
// float light = dot(lights[0].light_direction, normal);
|
||||
|
||||
// uFragColor = vec4(diffuse.xyz * light,1);
|
||||
|
||||
Reference in New Issue
Block a user