Skip to main content

Area Light

import * as REAL from "real_api";

const width = 1;
const height = 1;
const color = 0xa88f32;
const intensity = 2;
const light = new REAL.AreaLight(width, height, color, intensity);
scene.add(light);