Unity Top Tip: Creating Custom Glow Shaders in Unity

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

Start creating custom glow shaders in unity for user feedback. Learn how to create a custom shader and react to the materials however you choose. Use these shaders to notify users that they can pick up objects or interact with certain objects within a game.

-~-~~-~~~-~~-~-
Digital-Tutors is now Pluralsight. Learn more:
-~-~~-~~~-~~-~-

Digital-Tutors is now part of the Pluralsight technology learning experience! Enjoy all the creative learning you've come to love from Digital-Tutors on Pluralsight and MORE! Gain access to THOUSANDS more expert-led courses.
Рекомендации по теме
Комментарии
Автор

Really wish you would've shown it in game.

iambubbathedog
Автор

Works fine, but it didn´t show a black Rim.
If i set it to black there is just no Rim.
(All other colors work great)

Would you give me a hint to solve this?
Thank you

lloydcorfex
Автор

Unity should really use the system of making shaders and materials that blender has, very simple, easy to use and kinda fun in a way.

ThatKid
Автор

Excellent tutorial! I needed exactly this shader for my application, and making it was more fun than buying it.

I found some syntax changes in the newest Unity version (5.2), and also it was tricky typing in the code from the screen because parentheses and brackets look so similar. Send me a PM if you want a copy of my updated code. (I take no credit for the base code -- all I did was update it to Unity 5.2 syntax.)

scottcourtney
Автор

I have a problem: The main texture is not applied. I put a texture on the shader(the shader is attached on a sphere) but the sphere have a diffuse collor. How to resolve this?

cosminavieru
Автор

how to add smoothness there ? i got a error :
expression left of ".Smoothness" is not a struct of an array
and implicit cast from "float4" to "float3" -> o.Albedo = c.rgb + _MyColor*(_Shininess - factor*_Shininess);

ImSiggi
Автор

Hm... I seem to be getting a 'pure black' result. None of the sliders have an effect. 

AC-fige
Автор

Very helpful, and works great. Thanks

jaystrikes
Автор

After saving and creating a new material with this shader, the material gives me no options or sliders and just shows a pink ball in the preview. Help please?

FritzTheWolf
Автор

Awesome work mate, was just wondering how I could apply this to a transparent material, for example I have rocks in my level and I want apply a lava lines that glow on the rocks, but unfortunately with this tut I can't seem to have both :/ any ideas on how i could achieve this?

Ggamer
Автор

How about this glow effect which applied on sprite renderer?

dttngan
Автор

Hm ... I seem to be getting a syntax error at the o.Normal line. I have no idea why.

Ctrltheshift
Автор

lol i wrote normalise instead of normalize :D

ImSiggi