Skip to content

A node for Shader Graph that allows you to create custom decals.

Notifications You must be signed in to change notification settings

Hazukiaoi/URP-Decal-Node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

URP-Decal-Node

A node for Shader Graph that allows you to create custom decals.

How to use

Download and import these files anywhere into your Unity project. MAKE SURE you have the depth texture enabled in your URP asset.

Create a new Unlit Graph. Click the cog on the master node, and set:
Surface -> Transparent.
Blend -> to the type of decal you'd like.

Add the 'Decal Node' node.

From here it's up to your creativity to create whatever decal you'd like.
Refer to the examples to see how each of the blend modes work.

Once you've created your material, apply it to a default cube object.
Make sure you turn off 'Cast Shadows' on the Mesh Renderer and remove the Box Collider component.

Warning

I made this just for fun, I've got no clue if it's actually a good method or if it's performant.
Use at your own risk of FPS loss :(

About

A node for Shader Graph that allows you to create custom decals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published