Invisible mask object with stencil buffer

Avatar
  • updated
Is it possible to disable rendering of an object that is writing to the stencil buffer for use as a mask?

The tutorials I've found suggest using "ColorMask 0" but this option does not seem to be exposed in Shapes.

Thanks

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Avatar
Freya Holmér

a workaround is to use additive blending and set the color to (0,0,0,1)

Avatar
alex harding

thanks that worked