Function createCommonLightEffect

  • The function creates a reactive effect by setting the name, intensity, and color of a given light.

    Parameters

    • light: Light
    • _props: {
          color?: Vec3;
          intensity?: number;
          name: string;
      }
      • Optional color?: Vec3
      • Optional intensity?: number
      • name: string

    Returns void