Added cast,receive shadows & unlit flags in the materials

This commit is contained in:
antopilo
2025-04-26 18:58:03 -04:00
parent 90d91feced
commit 74ee818443
33 changed files with 175 additions and 45 deletions

View File

@@ -42,6 +42,9 @@ struct Material
int roughnessTextureId;
int aoTextureId;
int samplingType;
int receiveShadow;
int castShadow;
int unlit;
};
[[vk::binding(0, 3)]]
StructuredBuffer<Material> material;