diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-11-12 12:37:04 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-11-13 17:46:22 +0100 |
commit | bad74311dbfd01359a947b3afed28f0a7a725d04 (patch) | |
tree | 55e91cbbc35103b80fe08b0268c9bf2f21265f2d /scene/scene_string_names.cpp | |
parent | 55b49dc71b687b9edf640ae2264879852f0b0503 (diff) |
Set roughness/metallic to 1 when assigning a texture in BaseMaterial3D
This makes material setup faster and avoids mistakes, especially with
the metallic channel which defaults to 0.
The value is only changed when adding a texture when none was
previously assigned, not when assigning a different texture.
Diffstat (limited to 'scene/scene_string_names.cpp')
0 files changed, 0 insertions, 0 deletions