assign-material-color.glsl 354 B

12345
  1. #if defined(dColorType_uniform)
  2. vec4 material = vec4(uColor, uAlpha);
  3. #elif defined(dColorType_attribute) || defined(dColorType_instance) || defined(dColorType_group) || defined(dColorType_groupInstance) || defined(dColorType_objectPicking) || defined(dColorType_instancePicking) || defined(dColorType_groupPicking)
  4. vec4 material = vColor;
  5. #endif