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 /platform/android/vulkan | |
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 'platform/android/vulkan')
0 files changed, 0 insertions, 0 deletions