meryuhi / URPFog

Simple fog effects for URP
MIT License
44 stars 3 forks source link

Enabling the Full Screen Fog Render Feature on the Universal Renderer Data Asset leads to an error and no fog being displayed #1

Closed 0Flush0 closed 7 months ago

0Flush0 commented 7 months ago

Hi,

i wanted to use the height based fog for a project i am working on, because unity just supports normal fog in URP. But when enabling the Full Screen Fog render feature on the asset, the following error occures and there is no visual output:

grafik Error grafik

Unity Version: 2022.3.12f Thanks in advance!

meryuhi commented 7 months ago

Thank you for using it! Have you set up volume in the scene?

0Flush0 commented 7 months ago

Thanks for you quick response,

the component is set up as global, i do have normal fog enabled, but turning it off does not seem to change the matter. Also the full screen render pass render feature does work. grafik

meryuhi commented 7 months ago

OK, I didn't reproduce the issue on Unity 2022.3.13f, so sorry for needing more information.

Or you can also send me your minimal sample project, thanks.

0Flush0 commented 7 months ago

Thanks for looking into this, and sorry for any inconvinience, but it seems to be, that another package i am using the VolumetricLightBeam asset, is not compatible with this one and i even more wierd issues in the terminal, because the fog just randomly started working again (tho there are issues and a wierd flickering). So the asset works fine, but there is some kind of incompatiblity. Looking into it, the dynamic occlusion depth buffer of the volumetric beam seems to be the problem. Maybe is there some problem with deph buffer access, if both assets are tying to access it

grafik

If you know something about this, it would still help a ton!

Thanks in regards

0Flush0 commented 7 months ago

Fixed the issue by seperating the assets on different renderers. Thanks for this great asset!