Blender Git Loki

Git Commits -> Revision f1a5fd9

Revision f1a5fd9 by Clément Foucault (master)
May 16, 2018, 14:58 (GMT)
Shader Node Editor: Add Closure to RGB convertion node.

Patch D3205 by Kanzaki Wataru

Only implemented in Eevee for now. Collapse a closure to RGBA so we can
do NPR stuff on the resulting color.

Use an emission shader to convert the color back to a closure.

Doing this will break PBR and will kill any SSR and SSS effects the shader
the shader rely on. That said screen space refraction and ambient occlusion
are supported due to the way they are implemented.

Commit Details:

Full Hash: f1a5fd90bad851ccb9eef7bc59c3a8ebe39fe8b8
Parent Commit: e862bcd
Lines Changed: +132, -41

1 Added Path:

/source/blender/nodes/shader/nodes/node_shader_shaderToRgb.c (+61, -0) (View)

10 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+0, -40) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_lib.glsl (+40, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+24, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021