Blender Git Commit Log

Git Commits -> Revision a507c25

Revision a507c25 by Clément Foucault (master)
January 21, 2018, 22:16 (GMT)
Eevee: Put all constant uniforms in a global UBO.

This is an optimization / cleanup commit.

The use of a global ubo remove lots of uniform lookups and only transfert data when needed.

Lots of renaming for more consistent codestyle.

Commit Details:

Full Hash: a507c251b23f2fd6ef7758e443939ce0c5c09e61
Parent Commit: 790025c
Lines Changed: +531, -521

1 Added Path:

/source/blender/draw/engines/eevee/shaders/common_uniforms_lib.glsl (+55, -0) (View)

24 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_data.c (+1, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+7, -8) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+9, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+107, -73) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+71, -81) (Diff)
/source/blender/draw/engines/eevee/eevee_occlusion.c (+19, -26) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+61, -58) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+23, -38) (Diff)
/source/blender/draw/engines/eevee/eevee_subsurface.c (+19, -12) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+105, -99) (Diff)
/source/blender/draw/engines/eevee/shaders/ambient_occlusion_lib.glsl (+0, -11) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+4, -9) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+12, -23) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl (+2, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/irradiance_lib.glsl (+4, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_lib.glsl (+2, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+7, -17) (Diff)
/source/blender/draw/engines/eevee/shaders/raytrace_lib.glsl (+1, -9) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_frag.glsl (+1, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_lib.glsl (+10, -18) (Diff)
/source/blender/draw/engines/eevee/shaders/volumetric_scatter_frag.glsl (+7, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021