Materials for AwayJS


340.6.105 months ago6 years agoMinified + gzip package size for @awayjs/materials in KB


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


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)

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.