LightRenderMode.ForcePixelLightRenderMode.ForcePixelDescriptionForce the Light to be a pixel light. Use this only for really important lights, like a player flashlight. See Also: light component.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { light.renderMode = LightRenderMode.ForcePixel; } } import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): light.renderMode = LightRenderMode.ForcePixel |
