tippesi / Atlas-Engine

Cross platform toy render engine supporting physically based rendering and hardware/software ray tracing
MIT License
438 stars 28 forks source link

Discrepancy between DDGI and pathtracer in regards to lighting intensity #10

Closed tippesi closed 3 years ago

tippesi commented 3 years ago

There seems to be an energy loss when using DDGI. Further investigation is required

tippesi commented 3 years ago

This might be caused by low ray counts per probe and therefore a low accuracy (see 256 vs. 32 rays per active probe). Need to investigate the accumulation and make sure the ray rotation matrix is actually random and rotates rays in a uniformly distributed manner across the sphere

tippesi commented 3 years ago

This can be mitigated a bit by using a dynamic hysteresis or using a higher ray count. Dynamic hysteresis is implemented now, might need some adjustments in the future