diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-06-20 11:46:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 11:46:01 +0200 |
commit | b9f8e072ce0893be378654869baf8a07c86199be (patch) | |
tree | f2e77c1c66be28bd693ef8d1aaf261b227418aee /scene/resources | |
parent | 974b07fc70d4d2b984840c9cb4610e4c0c350d08 (diff) | |
parent | eb7983377081651e120487a095101c94343ea203 (diff) |
Merge pull request #26205 from Calinou/spatialmaterial-use-packed-channels
Tweak SpatialMaterial's default metallic and roughness texture channels
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/material.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp index 6dec4a0c49..197ff14b38 100644 --- a/scene/resources/material.cpp +++ b/scene/resources/material.cpp @@ -2353,8 +2353,8 @@ SpatialMaterial::SpatialMaterial() : set_ao_light_affect(0.0); - set_metallic_texture_channel(TEXTURE_CHANNEL_RED); - set_roughness_texture_channel(TEXTURE_CHANNEL_RED); + set_metallic_texture_channel(TEXTURE_CHANNEL_BLUE); + set_roughness_texture_channel(TEXTURE_CHANNEL_GREEN); set_ao_texture_channel(TEXTURE_CHANNEL_RED); set_refraction_texture_channel(TEXTURE_CHANNEL_RED); |