Skip to content

Instantly share code, notes, and snippets.

@aras-p
Last active April 7, 2021 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aras-p/c6a50ca0d30c0be87c2c0672c3692f88 to your computer and use it in GitHub Desktop.
Save aras-p/c6a50ca0d30c0be87c2c0672c3692f88 to your computer and use it in GitHub Desktop.
EquirectangularSeamCorrection results

https://twitter.com/bgolus/status/1379670566961995776

Unity 2021.1.1 on Apple M1 MacMini, Mac standalone player build, capture frame in Xcode and see the timings it prints for the fragment shader of the main draw.

Uncompressed, Aniso on:

  • None: 338, 373 us
  • Tarini: 361, 582 us
  • Explicit LOD: 418, 423 us
  • Explicit gradients: 266, 373 us
  • Quad communication: 291, 578 us

Notes:

  • The timings seem to be really all over the place, see above for the same captures with wildly different times :(
  • None has a visible seam, as expected
  • Tarini and QuadComm have both identical seam. Smaller, and in the opposite side of "the earth" than None, but still a seam
  • Explicit LOD: no seam, but also no aniso (i.e. looks the same as with aniso off, blurrier towards the poles)
  • Explicit gradients: looks best (no seam, and aniso intact)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment