JSPM

  • Created
  • Published
  • Downloads 42
  • Score
    100M100P100Q84147F
  • License Apache-2.0

Materials for AwayJS

Package Exports

  • @awayjs/materials

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@awayjs/materials) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Awayjs Materials

Dependency for Awayjs applications requiring a configurable method for coloring / texturing / lighting the surfaces of objects: contains data structures for a collection of material types, as well as the rendering APIs (to be moved to renderer module).

Awayjs Dependencies

  • core
  • graphics
  • renderer
  • scene
  • stage

Internal Structure

  • data
    Render Data objects for storing render state for each instance of a material's methods (to be moved to renderer module)

  • methods
    Individual material behaviours that can be strung together to confgure material properties such as specular, diffuse and shadow behaviour as well as non-lighting effects such as fog and rimlighting

  • surfaces
    Render Data for materials and material passes (to be moved to renderer module)