[pr-fix][rendering][lighting] Bound indoor particle and dust light via DARNER_AMBIENT_ALPHA #94
Loading…
Reference in a new issue
No description provided.
Delete branch "hingeowl/Darner:vercetti/ambient-alpha"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds
DARNER_AMBIENT_ALPHA=<multiple>(Role::AlphaforCS_SpatialFilterAlpha, default1when ambient lighting is active;0disables) to bound the light that transparent surfaces, particles, and dust receive indoors when ray tracing is off.Provenance
https://github.com/lobomfz/VIctory-xmemcommite5a00326a064326bfb3bd0979fd5b02419eef2ce(GPL-3.0-or-later), adapted to Darner'sambient.rsanddraw.rs.main(b3a615f).Validation
cargo test --locked -p darner-gpu --lib ambientpassed.DARNER_AMBIENT=0.8+DARNER_AMBIENT_AIR=1enabled,DARNER_AMBIENT_ALPHA=0vs1, same binary):DARNER_AMBIENT_ALPHA=0(R1 / R2)DARNER_AMBIENT_ALPHA=1(R1 / R2)7,892/7,8147,703/8,71221.9/20.921.2/21.846.7/48.4 ms47.1/46.9 ms58.8/61.5 ms58.6/60.0 ms32.0/32.7 ms31.5/31.8 ms65%/21,837 MB65%/21,733 MBFrameMedMswas46.9 msvs48.4 ms), and screenshots inspected visually spotless (nonBlack=99.99%,magenta=0%).mainb3a615f:19.4 FPS,49.6 msmed,65.0 msP95,35.1 mssubmit,7,946draws.)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.