Default.Material

static Material Material{ get set }

Description

The default material! This is used by many models and meshes rendered from within StereoKit. Its shader is tuned for high performance, and may change based on system performance characteristics, so it can be great to copy this one when creating your own materials! Or if you want to override StereoKit’s default material, here’s where you do it!

Examples

If you want to modify the default material, it’s recommended to copy it first!

matDefault = Material.Default.Copy();

And here’s what it looks like: Default Material example




Found an issue with these docs, or have some additional questions? Create an Issue on Github!