@awayjs/materials

Materials for AwayJS

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
33Jun 12, 2021Nov 2, 2014Minified + gzip package size for @awayjs/materials in KB

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)

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.