SlightlyMad/AtmosphericScattering

OpenVR issue on the lightshaft's part

Opened this issue · 0 comments

Hi !
I'm using your volumetric light on many student project and it work like a charm, first i wan't to say thank you because i've learned a lot from your work (even if i don't understand all the structure) actually i'm working on a VR project, so i'm using openVR.
The thing to know is your first repo (volumetric light) work perfectly with openVR due to the matrix reprojection in the script, but i need to make a try with atmospheric's one because i'm buiding a meteo-systeme/day-night and atmospheric's lighshaft are perfect for a sun because they are occluded by the skybox.
The probleme is that I got werd black pixel drawed near geometries (maybe by one of the eyes of the camera), they don't move with the camera so it's really visible, even if the effect seem to work under certain point of view.
I'm not able to understand all you're code so i'm stucked, i've try to compare volumetric one to atmospheric one but i failed to get the VR "working" code part to atmospheric.

A possible hack for me would be a directionnal light from volumetric light's repo changed to not enlight the skybox (it can be easyer).

Thank you in advance to take some time to help me, best regard.