Unity Shader Graph - Simple Clipping Material (URP)

preview_player
Показать описание
A quick unity tutorial showing how I used alpha clip and position nodes etc. to create a simple clipping shader that can be animated.
Рекомендации по теме
Комментарии
Автор

YES YES YES! OMG YES! I've been looking for a tutorial exactly like this

sanicdahedgehag
Автор

Thank you! Shader graph noob here, exactly what I was looking for. Using this for an AR project where I wanted to occlude the bottom part of an object when it goes past the floor. Just passed the object's Y into the step node and it cuts off the part of the object sitting below 0.

thesporehero
Автор

Could I use this to cut a perfectly circular hole in a terrain? I'm trying to make a golf game and am having trouble with Unity's terrain paint holes which paint square holes not circular ones. An alpha cut out shader seems to be the way to go but I've never used on before and thought you might know.

johnnilson
Автор

simple and useful! thanks for ur tutorial!

toehtetpotatoe
Автор

Thank you. The shader you showed me was a lot of reference.
I have a question here.
How do we make this shader's outline?
I'm worried about clipping outlines these days.

I hope we can get a hint.

최성준-qw
Автор

there is a conflict about position object and object position node. What is the difference between them? ^^

Hozgen
Автор

Does it ist work with textures alpha too? 🤔

dertobbe