Unity 3D Glowing Object Tutorial
In this tutorial, I will be showing how to achieve a glowing effect using Unity‘s Post Processing package.
So let’s begin!
Steps
First, we need to download the Post Processing package.
- In Unity go to Window -> Package Manager
![](https://sharpcoderblog.com/public/images/d0f/d0f8cdd1f90156d0d4a40ab5e402efae.png)
- In Package Manager select “All packages”
![](https://sharpcoderblog.com/public/images/5ff/5ffe849425e3cef133416591a11ed1ee.png)
- Wait for all packages to load, then select “Post Processing” from the list
![](https://sharpcoderblog.com/public/images/04e/04eef3b0ba1f2f895c9784a1da551288.png)
- Click “Install” in the bottom right corner (if it’s not installed yet) then wait for the package to install.
- Add the “Post Process Layer” component to the Main Camera
- Change its Layer variable to ‘PostProcessing’ (create a new layer with that name if you do not have any)
- Change Main Camera layer to ‘PostProcessing’
![](https://sharpcoderblog.com/public/images/a7c/a7c8b11406efe921983a1c446ae769f9.png)
![](https://sharpcoderblog.com/public/images/619/619abc0e5f83d233f350f40073f282e3.png)
- Add another component to the Main Camera called “Post Process Volume”
- Check the “Is Global” checkbox
![](https://sharpcoderblog.com/public/images/d57/d57ee5cf7e67ecb083d064982d37a609.png)
- Right click on Assets folder -> Create -> Post-processing Profile, call it “BloomProfile”
![](https://sharpcoderblog.com/public/images/3b8/3b87fcfe41e79ec2f166c9b6ae762200.png)
- Select “BloomProfile” and in Inspector View click Add effect… -> Unity -> Bloom
- In Bloom effect check the Intensity, Diffusion, and Fast Mode checkboxes and set the values from the screenshot below:
![](https://sharpcoderblog.com/public/images/85b/85b8761c4856e6fd09c9eff2e4ae5f36.png)
- Assign “BloomProfile” to Profile variable in “Post Process Volume”
![](https://sharpcoderblog.com/public/images/5b1/5b1e62c520e29188e26ecfb83216eedf.png)
- Drag & Drop the object to which you want to apply the glowing effect into the Scene view (in my case it’ll be a model of a Lightsaber)
![](https://sharpcoderblog.com/public/images/add/add2766c26d333a5c3a9df33f7fa0406.png)
- Select the material that you want to glow and make sure its Shader is set to “Standard”
- Enable the “Emission” checkbox
![](https://sharpcoderblog.com/public/images/0e6/0e6b4432d96559f2b5dbae0fcfeb7cd8.png)
- Click on the “HDR” color and increase the “Intensity” value
![](https://sharpcoderblog.com/public/images/758/75860f52e3219829f7eaf4e478f5f2ca.png)
The object should now glow:
![](https://sharpcoderblog.com/public/images/ae2/ae267a637083db2da822c4c2a3c6266d.png)