]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix the name of the PBR fresnel lookup texture
authorMikko Rasa <tdb@tdb.fi>
Sat, 8 May 2021 18:44:15 +0000 (21:44 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 9 May 2021 07:53:57 +0000 (10:53 +0300)
source/materials/pbrmaterial.cpp

index 7e7bd5cf642dbf5e8c4f93284cea5e1173b47bf4..76683e9f65d51a1e57e67ed66d85919475ee42d5 100644 (file)
@@ -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<Texture2D>(name);
        if(fresnel_lookup)
                return *fresnel_lookup;