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

Light node

Open darek607 opened this issue 5 years ago • 0 comments

< Main issue

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

  • [ ] Android
  • [ ] iOS

darek607 avatar Jan 29 '20 13:01 darek607