developer.playcanvas.com icon indicating copy to clipboard operation
developer.playcanvas.com copied to clipboard

Add Godrays PR as a WebGL 2 only example

Open FutureFireplace opened this issue 3 years ago • 5 comments

Hello, as the Godrays posteffect currently isn't available (anyway; as you write it needs to be compatible with WebGL 2.0), I want to hear if it can become so anyway in here as a github-source? (at least temporarely)

Even though I bought GodRays from Leonidas/Pirron-One, he did not reply with an answer a link from himself (he made available for our community some years ago).

Actually I would argue that it should be available in any case, as it (the WebGL 2.0-benchmark) is already above 80% penetration (https://www.khronos.org/blog/webgl-2-achieves-pervasive-support-from-all-major-web-browsers).

Testing of '1.0 or 2.0' should also be manageable according to: https://stackoverflow.com/questions/51428435/how-to-determine-webgl-and-glsl-version Developers would then have the option of writing this to the user "This app's post effects is only supported by WebGL 2.0, which your device does comply to".

PS: I now there are Contributing Guidelines, but could not find a suit for this kind of issues.

FutureFireplace avatar Apr 29 '22 05:04 FutureFireplace

What do you mean by GitHub source?

yaustar avatar Apr 29 '22 08:04 yaustar

Remember that I downloaded the effect from Leonidas/Pirron-One as some sort of a package of files. 'Source' => just making that package available as zipped group of files (and 'in here/Github' >> as semiofficial access only, ... again with the 80%-premise of WebGL 2.0)

FutureFireplace avatar Apr 30 '22 16:04 FutureFireplace

Can you reference the source please? It makes it easier for anyone that wants to take on this issue

yaustar avatar Apr 30 '22 17:04 yaustar

ok, first of all this https://github.com/playcanvas/engine/pull/3272

  • and from that (close to bottom) it links to https://github.com/playcanvas/engine/pull/3627

FutureFireplace avatar May 03 '22 16:05 FutureFireplace

Ah, I see 🤔 We could make it a tutorial project example. With iOS 14 still being WebGL 1 only, we can't add it to the GitHub repo as the idea for PlayCanvas to have features and examples that work across a full range of devices and capabilities as possible

yaustar avatar May 04 '22 08:05 yaustar