refreshUniformsToon method

void refreshUniformsToon(
  1. Map<String, dynamic> uniforms,
  2. Material material
)

Implementation

void refreshUniformsToon(Map<String, dynamic> uniforms, Material material) {
  if (material.gradientMap != null) {
    uniforms["gradientMap"]["value"] = material.gradientMap;
  }
}