Volumetric Light Scattering as a Custom Renderer Feature in URP | Kodeco, the new raywenderlich.com

Learn how to create your own custom rendering features with Unity’s Universal Render Pipeline by adding some volumetric light scattering to a small animated scene.


This is a companion discussion topic for the original entry at https://www.kodeco.com/22027819-volumetric-light-scattering-as-a-custom-renderer-feature-in-urp

Hey, really nice effect and it works great in my project. But I have just one problem, and I would love a little help.

I’m using it in a first-person camera, so every time the player stays at 90 degrees aside from the sun, the effect starts to show. In that case, the sun isn’t in my field of view. Is there a way to change it to just show when I’m, let’s say, 45 degrees from the sun? thanks so much!