]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/pbrmaterial.h
Add a tint property for PBR materials
[libs/gl.git] / source / materials / pbrmaterial.h
index 18719bd44e98f8616f2fb7e2e85aac79d2baccda..e863ca642481a0b64b651c814f537590cbd60ae8 100644 (file)
@@ -34,6 +34,7 @@ public:
        
 private:
        Property<Color> base_color;
+       Property<Color> tint;
        Property<Vector3> normal;
        Property<float> metalness;
        Property<float> roughness;
@@ -60,6 +61,7 @@ public:
 
        void set_base_color(const Color &);
        void set_base_color_map(const Texture *);
+       void set_tint(const Color &);
        void set_normal_map(const Texture *);
        void set_metalness(float);
        void set_metalness_map(const Texture *);