specularMap property

Texture? get specularMap
override

Implementation

get specularMap => uniforms["specularMap"]["value"];
set specularMap (Texture? v)
override

Implementation

set specularMap(v) {
  uniforms["specularMap"]["value"] = v;

  if (v != null) {
    this.defines!["USE_SPECULARMAP"] =
        ''; // USE_UV is set by the renderer for specular maps

  } else {
    // delete this.defines.USE_SPECULARMAP;
    this.defines!.remove("USE_SPECULARMAP");
  }
}