Texture representing checker patterns.
Definition TCheckerboardTexture.h:28
void sample(const SampleLocation &sampleLocation, OutputType *out_value) const override
Definition TCheckerboardTexture.ipp:50
TCheckerboardTexture(real numUtiles, real numVtiles, const OutputType &oddValue, const OutputType &evenValue)
Definition TCheckerboardTexture.ipp:14
void setEvenTextureScale(const math::Vector3R &scale)
Definition TCheckerboardTexture.ipp:112
void setOddTexture(const std::shared_ptr< TTexture< OutputType > > &oddTexture)
Sets the texture that is going to be used in odd cells.
Definition TCheckerboardTexture.ipp:73
void setOddTextureScale(const math::Vector3R &sale)
Sets the scale factors of cell texture. Larger u-, v- and w-scale makes texture appears to be larger ...
Definition TCheckerboardTexture.ipp:106
void setEvenTexture(const std::shared_ptr< TTexture< OutputType > > &evenTexture)
Sets the texture that is going to be used in even cells.
Definition TCheckerboardTexture.ipp:87