diff --git a/docs/portals/mask.mdx b/docs/portals/mask.mdx index 76b0eb682..60231c9b1 100644 --- a/docs/portals/mask.mdx +++ b/docs/portals/mask.mdx @@ -44,6 +44,14 @@ return ( ``` +You must unable stencil in your `` component to use the mask without `depthWrite` set to `true`. + +```jsx + +{/** Your scene **/} + +``` + You can build compound masks with multiple shapes by re-using an id. You can also use the mask as a normal mesh by providing `colorWrite` and `depthWrite` props. ```jsx