magic-script-components icon indicating copy to clipboard operation
magic-script-components copied to clipboard

Light node

Open pleszkiewicz opened this issue 5 years ago • 0 comments

Description

Add support for light nodes. A light node is a component for setting the properties of light in the scene.

Light node's supported properties (based on LightNode.h and light-builder.js):

LightNode: TransformNode {
  type: LightType(Directional, Point, Spot)
  color: vec4
  intensity: number
  range: number
  spotAngle: number
  castsShadows: boolean
}

Completion status

pleszkiewicz avatar Jan 16 '20 10:01 pleszkiewicz