fa937ecd948547227266e745327aa4e66c342ec0
- VulkanShadowMap: 1024x1024x6 layer D32_SFLOAT cube image - CubeCompatible flag, cube view for sampling, 6 face views for rendering - GetFaceViewProj: 6 directions (+X, -X, +Y, -Y, +Z, -Z) with correct up vectors - 6 shadow render passes per frame (one per cube face) - Fragment shader: samplerCube instead of sampler2D - Shadow: direction from light to fragment, distance comparison - No more perspective frustum limitation — omnidirectional shadows - shadow.vert: same push constant block (160B), uses lightViewProj per face - triangle.vert: removed fragLightSpacePos (not needed for cubemap) - Reduced shadow map size to 1024 (6x memory vs single 2048) - Floor/Grid excluded from shadow casting
Description
AI powered Game Engine
23 MiB
Languages
C#
97.8%
GLSL
1.8%
Shell
0.2%
PowerShell
0.2%