|
@@ -736,7 +736,7 @@ lightingInfo computeSpotLighting(vec3 viewDirectionW, vec3 vNormal, vec4 lightDa
|
|
lightingInfo computeHemisphericLighting(vec3 viewDirectionW, vec3 vNormal, vec4 lightData, vec3 diffuseColor, vec3 specularColor, vec3 groundColor, float roughness, float NdotV) {
|
|
lightingInfo computeHemisphericLighting(vec3 viewDirectionW, vec3 vNormal, vec4 lightData, vec3 diffuseColor, vec3 specularColor, vec3 groundColor, float roughness, float NdotV) {
|
|
float ndl = dot(vNormal, lightData.xyz) * 0.5 + 0.5;
|
|
float ndl = dot(vNormal, lightData.xyz) * 0.5 + 0.5;
|
|
//gl_FragColor = vec4(test.x, test.y, 1.0, 1.0);
|
|
//gl_FragColor = vec4(test.x, test.y, 1.0, 1.0);
|