X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Fpbrmaterial.cpp;h=76683e9f65d51a1e57e67ed66d85919475ee42d5;hp=7e7bd5cf642dbf5e8c4f93284cea5e1173b47bf4;hb=188ae4a4a81c735b6879980c8526497bead580ed;hpb=177f7a345c615e5934af16c97abde59127113b4c diff --git a/source/materials/pbrmaterial.cpp b/source/materials/pbrmaterial.cpp index 7e7bd5cf..76683e9f 100644 --- a/source/materials/pbrmaterial.cpp +++ b/source/materials/pbrmaterial.cpp @@ -35,7 +35,7 @@ const Texture2D &PbrMaterial::get_or_create_fresnel_lookup() { Resources &resources = Resources::get_global(); - static const string name = "_pbr_env_fresnel_lookup.tex2d"; + static const string name = "_pbr_fresnel_lookup.tex2d"; Texture2D *fresnel_lookup = resources.find(name); if(fresnel_lookup) return *fresnel_lookup;