Support Forum G3D Web Page |
Public Member Functions | |
Settings () | |
Settings (const Any &any) | |
void | deserialize (BinaryInput &b) |
bool | operator!= (const Settings &other) const |
bool | operator== (const Settings &s) const |
void | serialize (BinaryOutput &b) const |
Any | toAny () const |
Public Attributes | |
float | bias |
World-space offset from polygon surface to apply for parallax/displacement mapping. More... | |
int | iterations |
float | scale |
World-space scale to apply to bump height for parallax/displacement mapping. More... | |
|
inline |
G3D::BumpMap::Settings::Settings | ( | const Any & | any | ) |
|
inline |
|
inline |
bool G3D::BumpMap::Settings::operator== | ( | const Settings & | s | ) | const |
|
inline |
Any G3D::BumpMap::Settings::toAny | ( | ) | const |
float G3D::BumpMap::Settings::bias |
World-space offset from polygon surface to apply for parallax/displacement mapping.
Default is 0.
Called "bias" instead of "offset" to avoid confusion with the computed parallax offset.
Referenced by deserialize(), and serialize().
int G3D::BumpMap::Settings::iterations |
Referenced by deserialize(), and serialize().
float G3D::BumpMap::Settings::scale |
World-space scale to apply to bump height for parallax/displacement mapping.
Default is 0.001f.
Referenced by deserialize(), and serialize().