struct mrpt::opengl::TexturedTrianglesProxy::TextureParams
Overview
Cached texture rendering parameters.
struct TextureParams { // fields bool lightEnabled = true; mrpt::viz::TCullFace cullFace = mrpt::viz::TCullFace::NONE; float materialShininess = 0.2f; float materialSpecularExponent = 16.0f; mrpt::img::TColorf materialEmissive {0, 0, 0, 0}; bool textureInterpolate = false; bool textureMipMaps = true; bool hasTransparency = false; float alphaCutoff = 0.0f; bool hasNormalMap = false; bool hasDetailMap = false; bool hasDetailNormalMap = false; mrpt::math::TPoint2Df detailUVScale {1.0f, 1.0f}; };
Fields
float alphaCutoff = 0.0f
>0: cutout, <0: opaque, 0: blend
bool hasDetailMap = false
Whether a detail (normal) map texture was uploaded.