Wireframe Shader
  • Wireframe Shader
  • Quick Start
  • Wireframe Mesh Creator
  • Wireframe Texture Creator
  • Dynamic Wireframe Rendering
  • Dynamic Mask Controller
  • Custom Shaders
    • Hand-written shaders
    • Shader Graphs
  • Run-time API
  • Help & Contact
Powered by GitBook
On this page

Dynamic Mask Controller

PreviousDynamic Wireframe RenderingNextCustom Shaders

Last updated 5 months ago

Package included shaders can use Plane, Sphere and Box objects for masking wireframe effect. It can be turned on/off from the material editor.

For updating material with mask object’s transformation data (position, rotation, scale), it is necessary to use WireframeMaskController script. One instance of this script can update only one type of a mask for multiple materials. Scene can contain any number of the WireframeMaskController script.

Package includes example scenes demonstrating all 3 types of the dynamic masks in action.

Package included shaders can use only one type of a mask, but for custom shaders it is possible to mix them all together.

Example of sphere mask
Example of plane mask