Blender Git Commit Log
Git Commits -> Revision 032c741
Revision 032c741 by Jeroen Bakker (master) June 21, 2018, 07:02 (GMT) |
Studiolight: Calculation of irradiance buffer The calculation of the irradiance buffer was slow. Now it is only calculated when it is being used (background_alpha > 0.0) this solves the freeze when switching to LookDev mode. Also changed the default calculation to use the Spherical Harmonics calculation. This is able to generate the irradiance buffer fast, but is less accurate. As the irradiance buffer is only used for visual guidance speed is more important than accuracy. Added compile directive to switch between the implementations. (see STUDIOLIGHT_IRRADIANCE_METHOD) Disabled caching the irradiance buffer when STUDIOLIGHT_IRRADIANCE_METHOD_SPHERICAL_HARMONICS is used as it is not needed. |
Commit Details:
Full Hash: 032c741214b3db579f60941855711b482ed5794e
Parent Commit: 636a690
Lines Changed: +63, -26