Material Abstraction #29
Labels
component: bindings
Related to Python Bindings generation
component: engine objects
Related to objects from the engine itself (e.g. Cameras, Lights, Meshes, etc.)
component: shaders
Related to creating/updating/refactoring glsl shaders from the engine
type: docs
type: feature
Description
This keeps track of the implementation of the
material_t
type. We currently don't know whether to have a separate type for each material type or just have a single object that handles types by an enum.One of the key differences with our previous implementation is that a given material type (e.g. LAMBERT) should be linked to a specific shader (or shader chunk). This is similar to how ThreeJS handles materials, and it looks that their master-shader approach is the best option going onward with our material system implementation.
Tasks
The text was updated successfully, but these errors were encountered: