3 Commits

Author SHA1 Message Date
Yi Shen
0030d7db95
Switch to WebGL 2.0 (#136)
* wip: upgrade to webgl2

* update shaders to version 300

* fix index for texture must be constant in webgl 2

* remove npot

* fix naming conflicts of using texture previously

* fix wrong internal format in float textures.

* fix depth texture format

* fix texture enabled define

* fix instancing

* fix some cases

* fix some case use extension

* fix frag depth

* tweak

* generate mimap for NPOT texture

* remove debugger code

* fix alchemyao case

* fix ssr case

* not generate mipmap in compositor by default.
2023-02-15 22:09:08 +08:00
pissang
b5da127c47 fix(instancing): fix instancing. update more examples 2022-05-15 17:41:42 +08:00
pissang
c9a0ceb0a1 test: update more examples to ts 2022-05-12 10:41:43 +08:00