From 188ae4a4a81c735b6879980c8526497bead580ed Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 8 May 2021 21:44:15 +0300 Subject: [PATCH] Fix the name of the PBR fresnel lookup texture --- source/materials/pbrmaterial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2