getUniforms method
Implementation
Map<String, dynamic> getUniforms(Material material) {
String? shaderID = shaderIDs[material.shaderID];
Map<String, dynamic> uniforms;
if (shaderID != null) {
var shader = ShaderLib[shaderID];
uniforms = cloneUniforms(shader["uniforms"]);
} else {
uniforms = material.uniforms;
}
return uniforms;
}