namespace Msp {
namespace GL {
+class Texture2D;
+
class PbrMaterial: public Material
{
public:
Property<float> roughness;
Property<float> occlusion;
Property<Color> emission;
+ const Texture2D &fresnel_lookup;
static const Tag texture_tags[];
public:
PbrMaterial();
+private:
+ static const Texture2D &get_or_create_fresnel_lookup();
+
protected:
virtual void fill_program_info(std::string &, std::map<std::string, int> &) const;