]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/pbrmaterial.cpp
Change various generated texture names to use the unified extension
[libs/gl.git] / source / materials / pbrmaterial.cpp
index ed94bf799f53179e17ad977c782d365272e88edc..e01bbb9d5f0043463a6d38a987f04758a2c95022 100644 (file)
@@ -36,7 +36,7 @@ const Texture2D &PbrMaterial::get_or_create_fresnel_lookup()
 {
        Resources &resources = Resources::get_global();
 
-       static const string name = "_pbr_fresnel_lookup.tex2d";
+       static const string name = "_pbr_fresnel_lookup.tex";
        Texture2D *fresnel_lookup = resources.find<Texture2D>(name);
        if(fresnel_lookup)
                return *fresnel_lookup;