Blender Git Commit Log
Git Commits -> Revision 2302ba2
Revision 2302ba2 by Clément Foucault (master) November 24, 2017, 05:37 (GMT) |
Eevee: Refactor of lit_surface_frag.glsl This cleanup removes the need of gigantic code duplication for each closure. This also make some preformance improvement since it removes some branches and duplicated loops. It also fix some mismatch (between cycles and eevee) with the principled shader. |
Commit Details:
Full Hash: 2302ba2245f1e65dde7870cc9ab610ded5abc364
Parent Commit: 16a2802
Lines Changed: +389, -796
5 Modified Paths:
/source/blender/draw/engines/eevee/eevee_materials.c (+4, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/default_frag.glsl (+5, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/lamps_lib.glsl (+6, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+323, -693) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+51, -96) (Diff)
/source/blender/draw/engines/eevee/shaders/default_frag.glsl (+5, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/lamps_lib.glsl (+6, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+323, -693) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+51, -96) (Diff)