Default.MaterialUnlitClip

static Material MaterialUnlitClip{ get set }

Description

The default unlit material with alpha clipping! This is used by StereoKit for unlit content with transparency, where completely transparent pixels are discarded. This means less alpha blending, and fewer visible alpha blending issues! In particular, this is how Sprites are drawn. Its shader 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 unlit clipped behavior, here’s where you do it!




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