shaderLibStandard top-level property

Map<String, dynamic> shaderLibStandard
getter/setter pair

Implementation

Map<String, dynamic> shaderLibStandard = {
  "uniforms": mergeUniforms([
    uniformsLib["common"],
    uniformsLib["envmap"],
    uniformsLib["aomap"],
    uniformsLib["lightmap"],
    uniformsLib["emissivemap"],
    uniformsLib["bumpmap"],
    uniformsLib["normalmap"],
    uniformsLib["displacementmap"],
    uniformsLib["roughnessmap"],
    uniformsLib["metalnessmap"],
    uniformsLib["fog"],
    uniformsLib["lights"],
    {
      "emissive": {"value": Color(0, 0, 0)},
      "roughness": {"value": 1.0},
      "metalness": {"value": 0.0},
      "envMapIntensity": {"value": 1} // temporary
    }
  ]),
  "vertexShader": shaderChunk["meshphysical_vert"],
  "fragmentShader": shaderChunk["meshphysical_frag"]
};