From: Mikko Rasa Date: Sat, 8 May 2021 18:44:15 +0000 (+0300) Subject: Fix the name of the PBR fresnel lookup texture X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=188ae4a4a81c735b6879980c8526497bead580ed Fix the name of the PBR fresnel lookup texture --- 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;