You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Port optimizations from PR #32181 to the WebGPU renderer:
- Extract mean variable for clarity
- Add early return optimization for fully lit pixels
- Improve variable naming (d, p_max)
- Correct variance epsilon from 0 to 0.0000001
- Pre-compute constant (0.65 instead of 0.95 - 0.3)
- Remove redundant outer clamp
- Add clarifying comments
These changes improve performance by reducing operations per pixel
while maintaining identical visual output.
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments