Trying to add a glow to textures and line renderers in 2D

Hello,

I’ve been following tutorials all day with little luck. I want to add lighting and post processing to my game. So I added a global light and used the Sprite-Lit-Default material on all my tiles. Then I made a URP profile and get everything setup. With a Freeform light I am able to light tiles as expected. I then made a shader that looks like the following:

Note that I copied this from this tutorial:

When I apply this material to an object’s sprite renderer and adjust the intensity of the URP color, all it does is change the brightness of the sprite, and not the surrounding area. I did add a global volume to the scene as well.

From: 9550951--1349758--upload_2023-12-28_1-37-49.png

to: 9550951--1349761--upload_2023-12-28_1-38-6.png

Notice how the background isn’t being impacted by light, while it does when I use freeform lights. Then I also need to get this to extend to a Linerenderer, which feels like a separate issue. Is anyone able to help?

What’s your Bloom setting? If you were to set its threshold to .9 or so, this would mean you’ll get glow for brightly-colored things, even without a special shader for the (which may or may not be recommended).

Don’t forget you also need to enable postprocessing on the camera!