private:
void alpha_cutoff(float);
+ void alpha_cutoff_feather(float, float);
void sampler(const std::string &);
};
protected:
const Sampler *sampler = 0;
float alpha_cutoff = 0.0f;
+ float alpha_feather = 1.0f;
ProgramData shdata;
Material();
virtual const Texture *get_texture(Tag) const = 0;
virtual const Sampler *get_sampler(Tag) const { return sampler; }
- void set_alpha_cutoff(float a);
+ void set_alpha_cutoff(float);
+ void set_alpha_feather(float);
float get_alpha_cutoff() const { return alpha_cutoff; }
+ float get_alpha_feather() const { return alpha_feather; }
void set_debug_name(const std::string &);