Blender Git Commit Log
Git Commits -> Revision b0da401
Revision b0da401 by Clément Foucault (eevee-rewrite) October 8, 2021, 15:58 (GMT) |
EEVEE: Material: Add thickness output This only adds the output but the output is not yet used. This thickness output is meant to control the aspect of subsurface, refraction, absorption and volume shaders. The value expected is the mean thickness inside the object at the shading point. The source can be a vertex color or a texture map baked from a raytracer. |
Commit Details:
Full Hash: b0da401292fca2444a69fff7e2742c2a853270e5
Parent Commit: ee7deb0
Lines Changed: +51, -4
9 Modified Paths:
/source/blender/draw/engines/eevee/eevee_shader.cc (+11, -0) (Diff)
/source/blender/gpu/GPU_material.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.cc (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+7, -0) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_node_graph.h (+4, -2) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_output_material.glsl (+5, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_output_material.c (+6, -1) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+12, -1) (Diff)
/source/blender/gpu/GPU_material.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.cc (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+7, -0) (Diff)
/source/blender/gpu/intern/gpu_node_graph.c (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_node_graph.h (+4, -2) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_output_material.glsl (+5, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_output_material.c (+6, -1) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+12, -1) (Diff)