Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by TomTechnicusVR · Mar 24, 2020 at 12:49 PM · lightingvolumetric

What causes the concentric rings with volumetric lights in HDRP?

I am trying to get light shafts in Unity 2019.3 and HDRP 8.0.1. I modeled this simple demo scene. The light is a directional light and I have a sky and fog volume and auto-exposure. I have baked lights disabled and there is no skybox.

As can be seen, I have these weird concentric rings that are caused by the volumetrics. They disappear when I disable volumetrics either in the directional light or in the volume.

What might be causing this? How can I get rid of this?

alt text

concentric.jpg (75.0 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Namey5 · Mar 25, 2020 at 03:14 AM

This is essentially inverse shadow-acne. Shadowmapping isn't a perfect model of the surfaces of objects due to rasterisation, so you end up with low-resolution lines on objects because they are casting shadows onto themselves. To fix this, we apply shadow biasing to push the shadows slightly further away from the objects, however if you do that with volumetric lighting, you'll end up with lighting leaking through walls (as you see here). I'm not familiar with how volumetric lighting is implemented in HDRP, but at a glance it would appear they use a froxel volume to store lighting data. Whilst this is a good fit, in order for it to be at all performant the volume has to be fairly low resolution. As a result, you end up with a similar problem at shadow discontinuities, as the low resolution volume has a hard time factoring in very thin surfaces. On top of that, shadow biasing may also be at play here, meaning two sources of light leaking end up being combined. There is only really one fix for this (although it works for both) - make your walls thicker. Most of these techniques work on the assumption that the majority of objects are fully 3D closed meshes, and so you will get visual errors if you only have one side as the object becomes infinitely thin. In theory, you could increase the resolution of your shadowmaps and lighting volume, but it would be much slower and the error would still be there, albeit at a smaller scale.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image TomTechnicusVR · Mar 25, 2020 at 08:57 AM 0
Share

This worked like a charm. Actually upon reading your answer I realized that I had tweaked normal and slope-scale depth bias in the shadow settings due to light leaking. Reverting this and increasing the wall thickness from 0.1m to 0.4 meter solved the issue as you said. Thanks a lot!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

161 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Cone mesh that gradually fades? 2 Answers

Volumetric Lights dont work on mac build 2 Answers

Using Aura Volumetric lighting; Aura main component is cut off 3 Answers

Is it possible to increase the HDRP volumetric light quality? 1 Answer

Volumetric Lighting Help 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges