sonicether / SEGI

A fully-dynamic voxel-based global illumination system for Unity
http://www.sonicether.com/segi/
MIT License
1.5k stars 170 forks source link

Is there a simple way to improve the voxel resolution? #28

Open Wenzy-- opened 4 years ago

Wenzy-- commented 4 years ago

Hi,sonicether.This addon is amazing. I found in SEGI.cs, the high setting is 256.I have tried to increase the number to 512 or more.But the result doesn't change.

public enum VoxelResolution
{
    low = 128,
    high = 256
}

May i ask what i should do?Do i need to modify other related code at the same time?Thanks

george-monumental commented 2 years ago

This would double the resolution in each dimension, so VRAM requirements would go up 2^3 = 8 fold. So instead of 512 MB of VRAM, you'd use 4 GB of VRAM just for voxel cone tracing.

You can go a bit higher if you use less vertical resolution but that's not an easy change (that's what we have done in Crowfall).