How to make a glow effect around a player / object

Hello Guys,
I want to make a simple RPG, where you can select objects, when the player selects one, the object should start to glow! How can I make it glow like in ESP cheats (It should not glow through walls)!

Sry for my bad Englisch i am thirteen years old from Germany…

Thanks for your answers!

Seriously?! :eyes:

https://www.google.com/search?q=unity+outline+shader

Project sources : GitHub - Broxxar/GlowingObjectOutlines: A technique for Glowing Object Outlines in Unity.

1 Like

Does it work? Looks like that source has an open issue saying it doesn’t work. In 2017 basic stuff like this should be implemented by default and available with a single api call controlling glow color and transparency level IMO. But then I’m always focused on efficiency. Of course in Unity that would translate to available as a component to add in the Inspector I guess.

OP looks like you’ll have to track it down and test various things until you find one that works. Then you can study the code and maybe be able to improve or otherwise customize it.

Seriously? There are a dozen different variants on making outlines and none of them are clearly superior.

https://www.youtube.com/watch?v=W3Yg2i17TDo

Here’s an example that would be terrible in this instance, but perfect in others. Chances are half the methods to create outlines don’t work in this instance, and the rest of them will still be quirky.

1 Like

Yes. Tested with Unity 562.

1 Like

Well good then. I just clicked on the link and first thing that stood out was an issue item saying it does not work in 5.6.1f1 IIRC.

For glow on certain objects using URP. I found that this video is quick and solves all the glow problems. For 2022 version of course. I’m pretty sure there was one for 2021 version on their channel too. But here, hope it helps

you can use Shader Graph to make a Fresnel effect in urp