Small fixes, validation is now clean except for a false positive

This commit is contained in:
Sascha Willems 2021-11-20 12:29:27 +01:00
parent 089edad01c
commit 41a52bda4c
3 changed files with 9 additions and 5 deletions

View file

@ -20,7 +20,5 @@ void main()
vec3 diffuse = max(dot(N, L), 0.0) * vec3(1.0);
float specular = pow(max(dot(R, V), 0.0), 16.0) * color.a;
outFragColor = vec4(diffuse * color.rgb + specular, 1.0);
outFragColor = texture(samplerColor, inUV);
outFragColor = vec4(diffuse * color.rgb + specular, 1.0);
}