2 Days Ago
Encode spherical harmonics directional occlusion (SHDO) into gbuffer for proper shadowing on direct lighting (directional light only), use alpha testing and multi hit backface raycasting in SH baker to better represent foliage shadowing, blend between shadows and SHDO when reaching max shadow range, and use TOD sun direction for SHDO calculation