@awayjs/materials
v0.6.17
Published
Materials for AwayJS
Downloads
460
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).
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)