Blender Git Commit Log

Git Commits -> Revision b0f6fb8

Revision b0f6fb8 by Clément Foucault (master)
January 29, 2020, 00:02 (GMT)
EEVEE: Micro optimize disk light

Try to never do operation twice and try to use MADD operations. Even if this
is very unlikely to make any difference, it can help compilers do some
optimization. I did not measure any difference as probes have much higher
impact on render time because of texture lookups.

Note that disk light is currently the most expensive light type so it
does not hurt to micro optimize.

Commit Details:

Full Hash: b0f6fb83699c92b290d75bbd97776fe4c5898b58
Parent Commit: 3d73609
Lines Changed: +16, -13

1 Modified Path:

/source/blender/draw/engines/eevee/shaders/ltc_lib.glsl (+16, -13) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021