Unity Area Light
Unity3D Area Light




Last updated
Unity3D Area Light




Last updated
private void AddAreaLight()
{
const float width = 1f;
const float height = 2f;
const float intensity = 20f;
var color = Color.yellow;
var areaLight = RealMesh.AreaLight(width, height, intensity, color);
areaLight.transform.position = new Vector3(1, 2, 1);
}