Disabling lighting for now
This commit is contained in:
1 parent
54c5f9a5d7
commit
19007ac601
15 files changed
+86
-84
No files matched your search
@@ -337,7 +337,7 @@ struct CookTorrance : IBRDF
|
||||
float nDotL = max(dot(n, lightDir_WS), 0.0);
|
||||
|
||||
float3 result = (k_d * baseColor / PI + specular) * nDotL * lightColor;
|
||||
return result;
|
||||
return baseColor;
|
||||
}
|
||||
[mutating]
|
||||
void transformNormal(float3x3 tangentToWorld)
|
||||
|
||||
Reference in new issue
Block a user