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