Unity Shader Graph - How to make an Outline Shader

preview_player
Показать описание


In this video I show you how to create a simple outline shader for sprites and a simple one for cubes. I will create a 3D outline effect shader in my upcoming shader videos.
-----------------------------------------------------------------------------------------------------------
If you liked the video then please respond with a like and a subscribe to show your support for the channel and I'll repay you by creating more tutorials to teach you the wonder that is Unity :D
Рекомендации по теме
Комментарии
Автор

"I will create a 3D outline effect shader in my upcoming shader videos."


Did you end up making this video? I can't find it :(

FBDSG
Автор

Fantastic tutorial. Not quite what I was looking for, but reworkable to what I need... I think. Cheers man 🙌

oddsocksdev
Автор

i cant do anything with out the SubGraph-SpriteSample xD, why make shader in my proyect but i dont have it,
btw, why dont see, how i can make it ?

DarkVisent
Автор

does this outline shader work only on the cube, or other 3d models as well?

namesurname
Автор

How i can make it outline only? With no texture visible?

personmuc
Автор

Hi! Great tutorial! could you show us how to do a toon shader for 3D models? thanks a lot!

whynotstudiogames
Автор

I don't get this line thickness approach. If it goes from 0 to 0.9999 then i can go from very thin line to thin line. It almost non visible in my game

_Pawelski
Автор

You can make crazy cool false lighting effects with this. If you combine it with a gradient then use some scripts to change the color and rotate the gradient, you could make some dynamic rim lighting.Cool stuff.

Sagaan
Автор

Thanks for the video, can't wait to start experimenting with this.
I wish you showed how a thicker outline would look, as you only showed it working with a 0 or 1 thickness.

Kramlets
Автор

How did you get the SpriteSample Subgraph?

KoshYoutube
Автор

i dont seem to be having a spritesampler... :/

zetadesigns
Автор

Nice tuto!!!! can you make a 3d outline shader graph tuto? please *|*

AntonioArnoldoLimadaSilva
Автор

For anyone having issues with their shaders always turning pink, make sure you have the lightweight render pipeline package installed. You can check by going to Window > PackageManager. If you don't already have it installed, you can install it using the built in package manager. Next, create a new LightweightAsset in the asset folder by Create > Rendering > LightweightAsset. Then go to Edit > Project Settings > Graphics and drag and drop that LightweightAsset into Scriptable Render Pipeline Settings at the top. After that I closed and re-opened the Shader Graph editor window and it was solved. Keep in mind, switching the rendering pipeline may break your other shaders.

imakeinternet
Автор

Mate, state this is for sprites/2D in the video title, don't waste people's time

_.-.