Comment by fidotron

Comment by fidotron 6 months ago

8 replies

Honestly I've come to view the "it's the API's fault" as cope.

There are times when it is legitimately true, but it's far easier to say that your would have been amazing efforts were blocked because you needed obscure feature of prototype GPU than it is to accept you were never going to get close in the first place for completely different reasons.

whizzter 6 months ago

No, it's a valid complaint. Even before hardware raytracing a huge amount of code was moving to compute shaders, most global illumination techniques in the last 10-15 years is easier to implement if you can write into random indices (often you can refactor to collecting reads but it's quite cumbersome and will almost certainly cost in performance).

Even WebGL 2 is only equivalent of GLES 3.1 (and that's maybe a low 4.1 desktop GL equivalent). I think my "software" raytracing for desktop GL was only feasible with GL 4.3 or GL 4.4 if i remember correctly (And even those are kinda ancient).

  • flohofwoe 6 months ago

    WebGL2 is GLES 3.0, not 3.1 (that would be big because 3.1 has storage buffers and compute shaders).

    • whizzter 6 months ago

      Thanks for correcting, I only remembered that 3.2 was the latest so went one down since I remembered compute wasn't part but seems it was in 2 steppings. :)

  • fidotron 6 months ago

    > No, it's a valid complaint.

    For what?

    This is exactly what I am talking about: successful 3D products don’t need raytracing or GI, the bulk of the audience doesn’t care, as shown by the popularity of the Switch. Sure those things might be nice but people act like they are roadblocks.

    • whizzter 6 months ago

      Yes and no, Nintendo properties has a certain pull that aren't available for everyone.

      But also, I'm pretty sure that even the Switch 1 has far more capable graphics than WebGL 2. Doom Eternal is ported to it and reading a frame teardown someone did they mentioned that parts of it are using compute.

      Yes, you can do fairly cool stuff for a majority of people but old API's also means that you will spend far more time to get something halfway decent (older worse API's just takes more time to do things with than the modern ones).

  • pjmlp 6 months ago

    That is PlayStation 3 and XBox 360 kind of graphics level, yet we hardly see them on any browser, other than some demos.

    • whizzter 6 months ago

      PS3/XB360 level graphics still requires a fair bit of content and the web-game-ecosystem kinda died off with Flash and people moved onto mobile or focused on marketplaces like Steam/XBIndie,etc.

      I do think we're due for a new wave of web-based gaming though, web audio just wasn't near maturity when Flash went and the mobile/steam/xbindie marketplaces still worked for indies. But now with all the crowding and algorithm changes people are hurting and I think it might just be a little spark needed for a major shift to occur.