Skip to content

RenderLight

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/render-program/RenderLight.ts for the most up-to-date information.

Overview

Stores a RenderProgram for light direction and color

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class RenderLight

import { RenderLight } from 'scenerystack/alpenglow';

Constructor

new RenderLight( directionProgram : RenderProgram, colorProgram : RenderProgram )

Instance Methods

Source Code

See the source for RenderLight.ts in the alpenglow repository.