color-assign-material.glsl 232 B

12345
  1. #if defined(dColorType_uniform)
  2. vec3 material = uColor;
  3. #elif defined(dColorType_attribute) || defined(dColorType_instance) || defined(dColorType_element) || defined(dColorType_elementInstance)
  4. vec3 material = vColor;
  5. #endif