‹ BackHN Continuity

Thread

When the fractional part of a float fixes your shader

111 points · 19 comments · vinhnx

  1. xyzsparetimexyz · · focus · HN ↗
    Good investigation! The whole webgl stack is such a piece of shit huh
    1. flohofwoe · · focus · HN ↗
      It has nothing to do with WebGL though, that same problem might happen in native 3D engines too as soon as you need to support multiple 3D APIs from a common shading language.

      On the contrary, WebGL2 is probably the only 3D API that comes even close to the idea of "write once, run everywhere".

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.