Merge pull request #26205 from Calinou/spatialmaterial-use-packed-channels

Tweak SpatialMaterial's default metallic and roughness texture channels
This commit is contained in:
Rémi Verschelde
2019-06-20 11:46:01 +02:00
committed by GitHub
2 changed files with 2 additions and 5 deletions

View File

@@ -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);