The BEST Outline Shader Graph Tutorial | Unity Tutorials

preview_player
Показать описание
Hey Guys! Welcome back to another CG Smoothie Video! In this video I'm bringing you guys a new Unity Game engine tutorial! This time, we're learning how to use the unity game engine to make 3d outlines around characters and objects in your game using the Unity Shader Graph! I think this is one of the BEST Outline tutorials out there! If you guys enjoy, let me know what other shaders to create in future videos!

We have a couple members so far and we can all bring each other up so make sure to check it out! We talk Blender and Unity!

Please check out my games and maybe donate a bit if you want 😏

Tools I use in this video:
DaVinci Resolve 18
Unity 2021
Photoshop
OBS

🎵 Music:
Wii Play (Title)
Originally composed by Shinobu Tanaka

🔗Related Links:

⏱️Timestamps:
00:00 Intro
01:00 Tutorial - How to Make a 3D Outline Shader!
11:45 Explanation - How does this Really Work?
13:15 Outro

#unity #shaders #gamedev #indie #indiegame #unity3d #tutorial #helpful #blender #cgsmoothie #shader #shadergraph #easy
Рекомендации по теме
Комментарии
Автор

Great tipo, exactly what I was looking for

GabrielSilva-mvfm
Автор

This was very very helpful, thank you!

hayesgeldmacher
Автор

do you have any suggestions for adding an outline to an objects Texture rather than it's mesh? I have many billboarded objects in my scene, each uses a Quad mesh and has a material that uses alpha clipping to create a 2d cutout visual style. I'd like to add a white border to all of these objects to make them look like they are cut out of poster board. When I apply the process from your video the entire quad is colored white as opposed to just having a white border around the texture's opaque areas. Would love any suggestions that I could try!

toefour
Автор

How do you apply the opaque layer mask in HDRP?

starbuck
Автор

5:42 i have NO clue why or how you can have a list like that, to add materials in HDRP??

schonkigplavuis
Автор

Trying to wrap my head around how I could make a radial progress outline... Using all of the directional vectors would produce a full outline, but possibly adding each vector over time would produce the radial outline? Any thoughts on this :D

pzknuni
Автор

Is it possible to have a drop shadow effect on a model, like a "black glow" around a character? I've looked into glow stuff but I think that since black is 0, 0, 0 it can't be done.

johnnyboy
Автор

You should leverage the screen position or use a post processing shader. They work with non smooth shaded objects

KDSBestGameDev
Автор

I'm new to unity, I'm only using it to add an outline so my question is probably silly, but when creating the shader in the main preview window a purple circle appears, and when i do what you do it doesn't change color, Also, the border around my 3d model does not appear, do you know why it could be?
On the project I have added the 3d model with its respective texture

lupulo
Автор

Is it possible to change the outline thickness after this is all done? My outline still ended up kinda big and I can't figure out how to shrink it down

AngersFiction
Автор

The normalize node isn't working in mine and I don't know why... The thickness of the outline is all messed up and I tracked the problem to it. I even tested it by removing the node and saving. Nothing changed. Can you help me please?

chefedaora
Автор

Does this double or increases the faces, like it did with the blender solidify?

Wondering whether it has potential as a style in games, but if it makes all objects too intense it will be pointless.

ExploitingTheWoW
Автор

Do you know how to effect the color of the outline based on your light source? Like if the sun is coming from the top left, the outline is yellow/white and the outline on the shadow side isa darker color say purple/navy?

jamaalsineke
Автор

Hey, the effect works exactly like i wanted thanks!
The only problem i have now is that these objects dont work with soft particles, i believe it has something to do with depth texture? Is it a limitation of this technique? Is there a way to solve it?

panopea
Автор

Hello! What is the name of the font you used in the text "the best unity outline shader", in the video image?

lucasalmeida
Автор

Nice tutorial I only have 1 problem. The outline doesnt stick to my model but flies a bit around it. Every face from my model has its outline but its with an ofset so its floating around the object.

Zeepblok
Автор

When I add and assing the material to the object, it only outlines the last submesh of the mesh. And from what I can tell, I did everything exatcly like in the video. The outline works, but for some reason it only out lines a single submesh of the object and not all of the object. I can't seem to find a solution so far. Do you have an idea why this is happening ?

aserd
Автор

i followed exactly that tuto in unity 2022 and get "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index" my google researches don't help at all, idk what to do. I'm so confused seeing the "Lit" thing as we use an unlit shadergraph too

kiryonnakira
Автор

I'm having a problem, in my main preview the sphere doesn't come out of pink, How do I resolve this?

andrarte
Автор

I managed to get this working 99% with HDRP, using two custom render volume instead of doing a custom renderer like you did, thank you very much. It seems that this method renders the outlines behind the fog in the scene however. It's fine if you don't know the answer to fix this as I recreated your steps in HDRP instead of URP, but do you know of any possible solutions?

CorleoBabar