Compare commits

..

No commits in common. "ff7349f77b0f136ebdffab18fd39bd958a98f7f2" and "edd5bce75c09d34055d64faccc5fb652289b1eff" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ void main()
vec3 V = normalize(uniformCameraPosition.xyz - wpos);
vec3 F0 = vec3(0.04, 0.04, 0.04);
F0 = mix(F0, colour.xyz, metallic);
F0 = mix(F0, colour, metallic);
vec3 L = lightDir;
vec3 H = normalize(V + L);
@ -110,5 +110,5 @@ void main()
// add to outgoing radiance Lo
float NdotL = max(dot(normal.xyz, L), 0.0);
gl_FragColor = vec4(((kD * colour.xyz / PI + specular) * lightColour * NdotL), colour.w);
gl_FragColor = vec4(((kD * colour / PI + specular) * lightColour * NdotL), colour.w);
}