1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Merge pull request #10194 from Keetz/update-default-values

Updated default values in SpatialMaterial and Environment
This commit is contained in:
Rémi Verschelde
2017-08-11 10:39:12 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -1805,10 +1805,10 @@ SpatialMaterial::SpatialMaterial()
: element(this) {
//initialize to right values
set_albedo(Color(0.7, 0.7, 0.7, 1.0));
set_albedo(Color(1.0, 1.0, 1.0, 1.0));
set_specular(0.5);
set_roughness(0.0);
set_metallic(0.1);
set_metallic(0.0);
set_emission(Color(0, 0, 0));
set_emission_energy(1.0);
set_normal_scale(1);