Material loading works now

This commit is contained in:
Dynamitos committed 2023-07-13 21:01:20 +02:00
1 parent 96d5cf67cb
commit 1668df467a
13 files changed
+292 -252

No files matched your search

+1 -1
View File
@@ -63,6 +63,6 @@ float4 fragmentMain(
PointLight pointLight = pointLights[j];
result += pointLight.illuminate(materialParams, brdf);
}
return float4(result, 1.0f);
return float4(result + float3(0.4f, 0.4f, 0), 0.7f);
}