X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Fpbrmaterial.cpp;h=ebd3321f2268a05054c05f086c035e5b88fdb39a;hp=b153a2cbeb32b890aec9cb9219725d73fd18f92a;hb=HEAD;hpb=e196a09d1df1e8504ff037d1701b7159c4f04e84 diff --git a/source/materials/pbrmaterial.cpp b/source/materials/pbrmaterial.cpp index b153a2cb..4a5f0a41 100644 --- a/source/materials/pbrmaterial.cpp +++ b/source/materials/pbrmaterial.cpp @@ -27,6 +27,7 @@ PbrMaterial::PbrMaterial(): fresnel_sampler(Resources::get_global().get("_linear_clamp.samp")) { set_base_color(0.8f); + set_tint(1.0f); set_metalness(0.0f); set_roughness(0.5f); set_emission(0.0f);