X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterials%2Fpbrmaterial.h;h=e96236d2af8501597336d7e72037ba73a22ceba7;hb=4369f481b06d28056deceecbfcb69550a65c92dc;hp=18719bd44e98f8616f2fb7e2e85aac79d2baccda;hpb=190a7e11237351f6b730c28f7b16f183e8adc69c;p=libs%2Fgl.git diff --git a/source/materials/pbrmaterial.h b/source/materials/pbrmaterial.h index 18719bd4..e96236d2 100644 --- a/source/materials/pbrmaterial.h +++ b/source/materials/pbrmaterial.h @@ -34,6 +34,7 @@ public: private: Property base_color; + Property tint; Property normal; Property metalness; Property roughness; @@ -47,7 +48,6 @@ private: public: PbrMaterial(); -private: static const Texture2D &get_or_create_fresnel_lookup(); protected: @@ -60,6 +60,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 *);