Blender Git Loki

Git Commits -> Revision 16a2802

Revision 16a2802 by Clément Foucault (master)
November 24, 2017, 05:37 (GMT)
Eevee: SSS: Principled Shader: Add a workaround the lack of scale input

This is a hack to make the user control the SSS radius even though the profile is baked with the default radius values.

This is completly against UI principles since you cannot edit the profile radiuses while there is something plugged into the radius socket.
Better solution will be to either have a dedicated node value for RGB radiuses and a SSS scale socket only for eevee.

Commit Details:

Full Hash: 16a28021493d5a54efff5e6aade39f7b015366cd
Parent Commit: f3b3848
Lines Changed: +13, -4

2 Modified Paths:

/source/blender/gpu/shaders/gpu_shader_material.glsl (+3, -3) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c (+10, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021