1 Hour Ago
- Changed the NGSS shadow sampling code to keep the loops rolled to prevent register pressure. - Moved the poisson disk arrays to the CPU and passed them in to the GPU as a constant buffer to prevent them from taking up register space. - Reduced the amount of data needed per AdditionalShadowData element to reduce register usage during the shadow sampling process.