]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/pbrmaterial.cpp
Rearrange some things in the shader library
[libs/gl.git] / source / materials / pbrmaterial.cpp
index c5d849c1cfcc6030a5caa5ff430907db439d9462..b153a2cbeb32b890aec9cb9219725d73fd18f92a 100644 (file)
@@ -66,7 +66,7 @@ const Texture2D &PbrMaterial::get_or_create_fresnel_lookup()
 
 void PbrMaterial::fill_program_info(string &module_name, map<string, int> &spec_values) const
 {
-       module_name = "cooktorrance.glsl";
+       module_name = "pbr_material.glsl";
        spec_values["use_base_color_map"] = (base_color.texture!=0);
        spec_values["use_normal_map"] = (normal.texture!=0);
        spec_values["use_metalness_map"] = (metalness.texture!=0);