jsulpis / realtime-planet-shader

Realtime planet shader in WebGL
https://jsulpis.github.io/realtime-planet-shader/earth/
GNU General Public License v3.0
343 stars 19 forks source link

Something seems off with the rendering #7

Closed neuroradiology closed 9 months ago

neuroradiology commented 9 months ago

When I look at the moon and watch a landmark near the equator leave the horizon on the right and become hidden, it comes back up on the left side WAY sooner than I would expect. Is it just an illusion? I trust the 3d mapping better than my eye, but it looks really strange / off.

jsulpis commented 9 months ago

Well, don't trust the mapping too much 😅 I also noticed an issue and the sphere projection is indeed incorrect. I'm trying to figure out how to fix that !

jsulpis commented 9 months ago

I forgot to do a PR but it should be fixed by https://github.com/jsulpis/realtime-planet-shader/commit/f4944b37f307225cb9a7e8a8ce07cb75f08ff420. Thank you for reporting the issue !