Fix T96207: wrong default value of Principled BSDF specular tint

Contributed by MysteryPancake.

Differential Revision: https://developer.blender.org/D14256
This commit is contained in:
Brecht Van Lommel 2022-03-07 13:43:31 +01:00
parent 00f6e4c990
commit e908ebc094
Notes: blender-bot 2023-02-14 10:21:10 +01:00
Referenced by issue #96207, Principled BSDF - Specular Tint default value at 0.5
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ static void node_declare(NodeDeclarationBuilder &b)
.max(1.0f)
.subtype(PROP_FACTOR);
b.add_input<decl::Float>(N_("Specular Tint"))
.default_value(0.5f)
.default_value(0.0f)
.min(0.0f)
.max(1.0f)
.subtype(PROP_FACTOR);