This commit is contained in:
Dynamitos committed 2023-11-13 13:48:01 +01:00
1 parent 9a26fd75ca
commit 59d6c9d794
3 files changed
+14 -5

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ struct BlinnPhong : IBRDF
float3 h = normalize(lightDir_TS + viewDir_TS);
float nDotH = saturate(dot(normal, h));
return baseColor;
return baseColor * (nDotL + nDotH) * lightColor;
}
};