Starting to add cascading shadow maps

This commit is contained in:
2025-07-14 21:10:07 +02:00
parent cc22f10565
commit 9bd1ca1b09
18 changed files with 282 additions and 172 deletions
-2
View File
@@ -10,7 +10,6 @@ struct DirectionalLight : ILightEnv
{
float4 color;
float4 direction;
float4x4 lightSpaceMatrix;
float3 illuminate<B:IBRDF>(LightingParameter params, B brdf)
{
@@ -369,4 +368,3 @@ struct CookTorrance : IBRDF
}
[mutating] void setNormal(float3 n) { normal = n; }
};