DiligentGraphics / DiligentFX

High-level rendering components
Apache License 2.0
208 stars 45 forks source link

Improve performance of IBL cubemap precomputation #204

Closed TheMostDiligent closed 1 month ago

TheMostDiligent commented 1 month ago

IBL precomputation currently takes too much time on some low-end devices causes driver to crash. The shader needs to be optimized. One thing that should help is to precompute Hammersley2D sequence and store it in a constant buffer (use float4 for each element of the sequence).

MikhailGorobets commented 1 month ago

Computing Irradiance Cube Map 640x640 per side with 8192 samples on GPU - AMD Radeon(TM) 610M:

Something strange with the performance on Vulkan