1390 Commits

Author SHA1 Message Date
pissang
c4ec159fef remove circleci 2023-02-15 22:15:03 +08:00
pissang
aae5f199cc fix type 2023-02-15 22:11:02 +08:00
pissang
b6b110421c release alpha.10 2023-02-15 22:09:57 +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
bf046c5154 fix Material#isDefined 2023-02-12 20:28:41 +08:00
pissang
9b042bf9ff fix window not defined 2023-02-12 19:48:38 +08:00
pissang
64af87bdce release 2.0 alpha.8 2023-02-12 19:43:43 +08:00
pissang
3ba3c01da3 fix pointer event doesnt have touches info on iOS 2023-02-12 19:32:58 +08:00
pissang
f76c23b7e4 publish 2.0.0-alpha.7 2023-02-10 18:53:52 +08:00
pissang
afe48a3670 not trigger click event when mouse moved long distance 2023-02-10 15:43:30 +08:00
pissang
7615df1eea not trigger click event when target changed 2023-02-10 15:39:52 +08:00
pissang
15f208896d Only check geometry in ray picking. Needs to set ignorePicking for the invisible mesh 2023-02-10 14:53:00 +08:00
pissang
38f1ad0cc0 fix vite config 2023-02-09 15:50:06 +08:00
pissang
802fb28c6d fix distance in rayPicking 2023-02-09 15:49:58 +08:00
pissang
f5e6533c92 fix build command 2022-12-01 16:42:21 +08:00
pissang
76e00f11e4 release 2.0.0-alpha.6 2022-12-01 16:41:01 +08:00
pissang
961b15e90b app: optimize event manager. 2022-12-01 16:40:50 +08:00
pissang
326c78d1c4 reverse some change 2022-11-30 18:27:34 +08:00
pissang
695050647d fix lint 2022-11-29 14:15:21 +08:00
pissang
1fe143de6e release 2.0.0-alpha.5 2022-11-29 14:14:23 +08:00
pissang
054d923c4e use pointer event in EventManager 2022-11-29 14:13:54 +08:00
pissang
20ac963a7e use pointer event instead of touch and mouse 2022-11-29 14:06:26 +08:00
pissang
6d75b1ead2 orbit: support shift with mouse buttons 2022-11-29 14:00:13 +08:00
pissang
a670c9ae63 canvas can be reused after renderer is disposed 2022-11-29 13:59:45 +08:00
pissang
ca8a057e77 export node as ClayNode 2022-11-29 13:59:02 +08:00
pissang
5c54f27882 app: eventmanager support camera so it can be used individually. 2022-11-29 13:58:42 +08:00
pissang
68269a027b Update pnpm-lock.yaml 2022-09-09 12:44:55 +08:00
pissang
84b74161ca bump 2.0.0-alpha.4 2022-09-09 12:37:33 +08:00
pissang
f5a5303d42 update to moderner build 2022-09-05 22:27:55 +08:00
pissang
63d546f83f update to alpha.3 2022-08-12 23:55:26 +08:00
pissang
acc1c1b0de fix(app): only dispose object that is removed from the scene.
The objects set to invisible will not be removed
2022-08-12 23:53:56 +08:00
pissang
b25103ac70 fix(render): fix disposed object to be rendered again will reuse the resource.
In the case that object switched between invisible and visible
2022-08-12 23:50:27 +08:00
pissang
a05371da72 chore: do clean build. release alpha.2 2022-07-29 16:52:01 +08:00
pissang
56b228f806 fix: fix wrong transform calc in getBoundingBox of group node 2022-07-19 14:39:19 +08:00
pissang
b2a8a19e30 type: optional filter in getBoundingBox 2022-07-19 14:00:33 +08:00
pissang
8b21e6f5a2 fix: buffers not updated when geometry is shared by multiple context. 2022-07-18 15:04:46 +08:00
pissang
4a6fdb8898 fix: force calculate local transform when updating world transform top down 2022-06-12 23:26:30 +08:00
pissang
689c21020f chore: fix type error 2022-06-12 23:20:38 +08:00
pissang
357599cf33 chore: remove some test dependencies 2022-06-11 16:25:01 +08:00
pissang
bef45cd16e fix(color): fix rgb string parse 2022-06-11 16:24:45 +08:00
pissang
ceabb62af5 type: export shaders type 2022-06-10 21:55:35 +08:00
pissang
95e941f975 fix(node): fix node name in opts 2022-06-10 21:55:27 +08:00
pissang
dab9332c47 fix wrong dep 2022-06-09 22:55:47 +08:00
pissang
03a7d5b60f fix(pcss): optimize blur size for objects that are near to camera 2022-06-09 12:37:22 +08:00
pissang
e491007233 refact(shadow): clamp texture 2022-06-09 12:10:52 +08:00
pissang
a397fe004d fix error when importing in SSR 2022-06-08 21:50:48 +08:00
pissang
c2c64a7bdc fix(type): remove dist files. add dts entry 2022-06-08 19:43:52 +08:00
pissang
11d70ff335 fix material clone 2022-06-06 23:47:15 +08:00
pissang
fdb28460db feat(pcss): optimize pcf in pcss 2022-06-06 23:17:16 +08:00
pissang
802be18e04 feat: optimize pcss soft shadow 2022-06-06 20:23:19 +08:00