Blender Git Loki
Git Commits -> Revision 89a002c
Revision 89a002c by Clément Foucault (eevee-rewrite, temp-eevee-gpencil-rewrite, viewport-compositor) June 7, 2021, 17:49 (GMT) |
EEVEE: Material: Add back support for backfacing and transparency Nothing much different compared to the previous implementation. The transparent BSDF and principled BSDF now detects when the material is potentially transparent to select the best way to render it. |
Commit Details:
Full Hash: 89a002c4e38b3be38e2de76fbb7209ddf9bb2337
Parent Commit: 6c1e786
Lines Changed: +463, -169
1 Added Path:
/source/blender/draw/engines/eevee/shaders/eevee_surface_depth_frag.glsl (+87, -0) (View)
23 Modified Paths:
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_gpencil.cc (+6, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_id_map.hh (+14, -26) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.cc (+2, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_material.cc (+47, -35) (Diff)
/source/blender/draw/engines/eevee/eevee_material.hh (+3, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_mesh.cc (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_sampling.hh (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_shader.cc (+48, -54) (Diff)
/source/blender/draw/engines/eevee/eevee_shader.hh (+5, -11) (Diff)
/source/blender/draw/engines/eevee/eevee_shader_shared.hh (+11, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.cc (+133, -19) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.hh (+51, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.cc (+4, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.hh (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_world.cc (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_camera_velocity_frag.glsl (+7, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_deferred_frag.glsl (+9, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_depth_simple_frag.glsl (+17, -0) (Diff)
/source/blender/gpu/GPU_material.h (+6, -5) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c (+4, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_transparent.c (+3, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_shaderToRgb.c (+1, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_gpencil.cc (+6, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_id_map.hh (+14, -26) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.cc (+2, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_material.cc (+47, -35) (Diff)
/source/blender/draw/engines/eevee/eevee_material.hh (+3, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_mesh.cc (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_sampling.hh (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_shader.cc (+48, -54) (Diff)
/source/blender/draw/engines/eevee/eevee_shader.hh (+5, -11) (Diff)
/source/blender/draw/engines/eevee/eevee_shader_shared.hh (+11, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.cc (+133, -19) (Diff)
/source/blender/draw/engines/eevee/eevee_shading.hh (+51, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.cc (+4, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.hh (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_world.cc (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_camera_velocity_frag.glsl (+7, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_deferred_frag.glsl (+9, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_depth_simple_frag.glsl (+17, -0) (Diff)
/source/blender/gpu/GPU_material.h (+6, -5) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c (+4, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_transparent.c (+3, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_shaderToRgb.c (+1, -3) (Diff)