Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
VFX
Shaders
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/2
Create impossible geometry and portal effects in Unity's URP with the Stencil Shader. Customize layer visibility, assign unique IDs, and unlock stunning visual effects for your projects.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.2.17f1
Not compatible
Compatible
Not compatible
Description

Introducing the Stencil Shader for Unity's Universal Render Pipeline (URP). This shader allows you to create mind-bending visual effects by making impossible geometry a reality. By applying this shader to a mesh, you can see through it to reveal only objects with specific layers set in the URP renderer. Perfect for creating portal effects, impossible shapes, and other unique visual styles.


Features:

  • URP Compatibility: Seamlessly integrates with Unity's Universal Render Pipeline.
  • Layer-Based Visibility: Customize which layers are visible through the mesh using the URP renderer settings.
  • Unique ID Assignment: Easily assign unique IDs to each mesh for precise control.
  • Versatile Effects: Ideal for creating impossible geometry, portal effects, and more.

Documentation

Technical details
  • Impossible Geometry: Create visually stunning, mind-bending shapes and structures.
  • Portal Effects: Create seamless transitions between different scenes or locations.
  • Custom Visuals: Enhance your game's aesthetic with unique and engaging effec

Stencil - URP | DH Shaders

(not enough ratings)
$4.99
Taxes/VAT calculated at checkout
License type: Single Entity
Single Entity
Recommended for individuals and small businesses.
Multi Entity
Recommended for large enterprises working across multiple locations.
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
108.0 KB
Latest version
1.0
Latest release date
Aug 9, 2024
Original Unity version
2022.2.17
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR