Started working towards supporting all the splits

This commit is contained in:
antopilo
2025-01-12 00:02:56 -05:00
parent 890b1c44b2
commit e203ac5bd8
10 changed files with 106 additions and 25 deletions

View File

@@ -38,8 +38,8 @@ struct Light
float outerConeAngle;
float innerConeAngle;
bool castShadow;
int shadowMapTextureId;
int transformId;
int shadowMapTextureId[4];
int transformId[4];
};
[[vk::binding(0, 6)]]
@@ -67,6 +67,7 @@ struct ShadingPushConstant
int MaterialInputTextureId;
int LightCount;
int CameraID;
float cascadeDepth[4];
};
[[vk::push_constant]]