Shaders are not compiling anymore...

This commit is contained in:
Dynamitos committed 2023-12-02 10:55:00 +01:00
1 parent 9114a6f252
commit 6c156d3bc2
23 files changed
+190 -148

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ struct BlinnPhong : IBRDF
float3 h = lightDir_WS + viewDir_WS;
float specular = dot(normal_WS, h);
return lightDir_WS * 2 + float3(1, 1, 1);//baseColor * (diffuse + specular) * lightColor;
return baseColor * (diffuse + specular) * lightColor;
}
};