Page MenuHome

Increase Eevee volume samples to allow rendering animations
Needs RevisionPublic

Authored by Gottfried Hofmann (gottfried) on Jul 28 2019, 10:45 AM.
Tokens
"Like" token, awarded by beyond."Love" token, awarded by Draise."Love" token, awarded by amonpaike."Love" token, awarded by tmurphy."Like" token, awarded by nacioss."Love" token, awarded by fin.eskimo.

Details

Summary

Eevee currently allows on 256 volume samples which can lead to severe banding issues even with optimized start and end for the volume frustum.

Increasing volumetric_samples fixes those issues.

Demo and file in this twitter thread: https://twitter.com/StefanPWinc/status/1154973548508778496

Another example of banding issues: https://twitter.com/brentpatterson/status/1154042824045678593

The shadow samples are also increased in this patch because I noticed that increasing them changes the look of the clouds, thus the currently limit is too small as well...

Diff Detail

Repository
rB Blender

Event Timeline

This is probably fine if it doesn't e.g. cause driver timeouts if this value goes too high. Will leave this to @Clément Foucault (fclem) to judge, but he has time off this week so might be a bit until he looks at this.

Clément Foucault (fclem) requested changes to this revision.Mar 23 2020, 9:59 PM

The reason 256 is the limit is because of it is the mimum maximum 3D texture size ensured by the OpenGL 3.3 spec.
Opening a file on any platform should not result in unsupported behavior.

If we are to uncap this setting I would like to have some safe-check and error message if the resolution is not supported.

This revision now requires changes to proceed.Mar 23 2020, 9:59 PM