Blender Git Loki

Git Commits -> Revision 277b4f4

Revision 277b4f4 by Pascal Schön (master)
February 22, 2021, 17:33 (GMT)
Fix Principled BSDF specular color for black base color

Specular color is set to black instead of white inside the Principled BSDF
when the base color is set to fully black. This is contradictory to the sample
code of the Disney BRDF in BRDF Explorer. This patch aligns both
implementations.

Differential Revision: https://developer.blender.org/D10448

Commit Details:

Full Hash: 277b4f4b9377b7d43e730aa3219ee1a82f9885d7
Parent Commit: 3207399
Committed By: Brecht Van Lommel
Lines Changed: +3, -3

3 Modified Paths:

/intern/cycles/kernel/shaders/node_principled_bsdf.osl (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+1, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_principled.glsl (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021