7 Commits

Author SHA1 Message Date
pissang
98d96d9d53 rename devicePixelRatio to pixelRatio. fix type errors 2023-02-19 15:38:25 +08:00
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
7492178d0e refact(mesh): improve type of mesh. 2022-05-14 19:41:38 +08:00
pissang
c9a0ceb0a1 test: update more examples to ts 2022-05-12 10:41:43 +08:00
pissang
6edabb3834 refact: use modern tools.
TypeScript, Prettier
2022-04-21 21:09:40 +08:00
pissang
0b27b15485 Rename Animation to Timeline 2018-01-04 13:39:09 +08:00
pissang
66e970306b New name ClayGL!! 2018-01-04 12:56:34 +08:00