Open Calinou opened 2 years ago
Is this still valid in newest alpha?
Is this still valid in newest alpha?
Yes (tested on 4.0.alpha 184709427). The amplification factor seems similar, and is pretty much always greater than 16 (even when vertical extents are identical to horizontal extents).
Godot version
4.0.dev (2a9dd654b)
System information
Fedora 34, GeForce GTX 1080 (NVIDIA 470.74)
Issue description
VoxelGI VRAM size estimation in the editor appears to be too conservative. Actual VRAM usage seems much higher.
In the testing project linked below, these are the VRAM size deltas I measured from my system:
The delta is measured from the "No GI" VRAM size mentioned in the absolute VRAM usage values below:
Antialiasing and other effects were disabled, and the project is running at the default window size of 1024×600. All other setting were left to their default values.
It seems there is no singular amplification value that would be reliable in all cases. From the above testing, we can conclude that the average amplification factor across all subdivision sizes is 50. However, the testing project uses mostly horizontal VoxelGI extents, which means the Y axis has 4 times less voxels than in a VoxelGI with fully cubic extents (Y axis as tall as others). This can likely influence the amplification factor.
Steps to reproduce
nvidia-smi
on Linux, or any other program that displays VRAM usage). This is the "Engine off" VRAM usage scenario.Minimal reproduction project
test_voxelgi_large.zip