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"]
};