Interface to work with material properties of shapes
ad2476 opened this issue · 0 comments
ad2476 commented
Would like to include a Material
type that makes it easy to specify material properties for a shape, and can be used by the shader.
For example, a Material
might just specify components for the lighting model: ambient, diffuse, specular colours. Or texture/normal map, transparency, refraction, etc.