Moonflow-Studio / Moonflow-Lensflare-System

■■Finished■■ Unity full pipeline multi light source lens flare rendering scheme based on atlas
MIT License
129 stars 19 forks source link

Intensive flare shaking at large distances #9

Closed CosmicStud closed 1 year ago

CosmicStud commented 2 years ago

The higher distance past the vector origin the lens flare begins to jitter of course probable due to floating point precision, but what of large scale worlds, just wondering, great asset!

Reguluz commented 2 years ago

Sorry I have not find this question for I didn't recognized of this situation. But I think that the flares should not created by a weak light source which is so far from camera, unless it shines so strongly like sun? I wonder if this situation is really needed or not.

Reguluz commented 2 years ago

The higher distance past the vector origin the lens flare begins to jitter of course probable due to floating point precision, but what of large scale worlds, just wondering, great asset!

hey bro, I've updated a new version, insert and replaced with many new calculations. If you could have a try to find this problem solved or not