mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #26205 from Calinou/spatialmaterial-use-packed-channels
Tweak SpatialMaterial's default metallic and roughness texture channels
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user