JSPM

  • Created
  • Published
  • Downloads 35
  • Score
    100M100P100Q92294F
  • License Apache-2.0

Materials for AwayJS

Package Exports

  • @awayjs/materials
  • @awayjs/materials/bundle/awayjs-materials.umd.js
  • @awayjs/materials/dist/index.js

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

Build Status

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).

Documentation

Official AwayJS Documentation

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)