Blender Git Loki
Git Commits -> Revision 4f11441
Revision 4f11441 by Clément Foucault (master) November 8, 2018, 18:20 (GMT) |
Eevee: Add partial support for the Light Path Node This makes it possible to tweak indirect lighting in the shader. Only a subset of the outputs is supported and the ray depth has not exactly the same meaning: Is Camera : Supported. Is Shadow : Supported. Is Diffuse : Supported. Is Glossy : Supported. Is Singular : Not supported. Same as Is Glossy. Is Reflection : Not supported. Same as Is Glossy. Is Transmission : Not supported. Same as Is Glossy. Ray Length : Not supported. Defaults to 1.0. Ray Depth : Indicate the current bounce when baking the light cache. Diffuse Depth : Same as Ray Depth but only when baking diffuse light. Glossy Depth : Same as Ray Depth but only when baking specular light. Transparent Depth : Not supported. Defaults to 0. Transmission Depth : Not supported. Same as Glossy Depth. Caveat: Is Glossy does not work with Screen Space Reflections but does work with reflection planes (when used with SSR or not). We have to render the world twice for that to work. |
Commit Details:
Full Hash: 4f114419137e76acde2d60d256d470c5a7a4232b
Parent Commit: 9d12a5a
Lines Changed: +63, -24
8 Modified Paths:
/source/blender/draw/engines/eevee/eevee_engine.c (+5, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.c (+12, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+8, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+8, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+5, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/common_uniforms_lib.glsl (+8, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+15, -20) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.c (+12, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+8, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+8, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+5, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/common_uniforms_lib.glsl (+8, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+15, -20) (Diff)