37 Commits

Author SHA1 Message Date
Davide Tantillo
7714942fe2 [ts][threejs] Format with biome. 2025-10-20 17:46:18 +02:00
Davide Tantillo
9482f60ccf [ts] 4.3 porting WIP. 2025-06-20 12:00:04 +02:00
Davide Tantillo
a2547097c2 [ts] Port to 4.3 (WIP) 2025-05-29 17:35:17 +02:00
Nathan Sweet
f08d58dc98 License header update. 2025-04-05 13:42:13 -04:00
Davide Tantillo
ba2c394da7 [ts] Format fix. 2025-04-02 22:56:10 +02:00
Davide Tantillo
457be16385 [ts] Port of commit 68d262b5: Improved rendering performance when an attachment is fully inside a clipping attachment.
Reuse the original vertices rather than clipping's triangle soup.
Removed deprecated clipping methods.
2025-04-01 15:19:21 +02:00
Davide Tantillo
219348e7f4 [ts][threejs] Fixed dark tint shader. 2025-02-20 15:43:23 +01:00
Davide Tantillo
7594c959dc [ts][threejs] Add support for lighting and shadow. Upgraded three to 0.162.0. Added new constructor. 2024-12-06 11:22:53 +01:00
Davide Tantillo
f3b3cb429a [ts][threejs] Allow to load pma textures. Non-pma textures are pma on upload. Fixed blending modes. Add physics example.
Close #2503.
2024-07-02 18:09:40 +02:00
Davide Tantillo
b4d61790f7 [ts] Port of earlier clipping cleanup commit 485de74: SkeletonClipping.ClipTriangles clean up. 2024-06-11 15:18:26 +02:00
Mario Zechner
de6b411007 Formatting 2024-04-16 17:21:36 +02:00
Mario Zechner
4598da9a21 [ts] Temporarily use Physics.update everywhere 2023-11-26 12:58:14 +01:00
Mario Zechner
9d4d86ced3 [ts] Attempt to fix incompatibility with Node's ESM implementation. See #2407 2023-11-06 12:42:00 +01:00
Mario Zechner
600e43de24 Formatting 2023-09-04 10:56:28 +02:00
Mario Zechner
8e84ad990d |threejs] Add logarithmic depth buffer example. 2023-09-04 09:54:05 +02:00
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Mario Zechner
98f060b435 [ts] Refactor how textures are stored in texture regions, fix renderers, add custom attachment WebGL example. 2023-04-17 16:12:26 +02:00
Mario Zechner
4c8167b885 [threejs] Fix batch capacity calculation, closes #2163 2022-10-04 09:33:13 +02:00
Mario Zechner
5a9982b2fb [ts] Removed VertexEffect, see #2076 2022-05-30 14:55:29 +02:00
Mario Zechner
e4372e5329 [ts] Enable TS strict mode. Closes #2058 2022-04-07 21:24:48 +02:00
Mario Zechner
78e8f637bb Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-03-21 19:32:37 +01:00
Mario Zechner
5365d661b6 [ts][threejs] Update to latest THREE, fix shader compilation error in THREE 138. 2022-03-21 19:26:29 +01:00
Mario Zechner
216423231d Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-03-17 11:54:49 +01:00
Mario Zechner
dd7a651144 [ts][threejs] Allow passing material customizer to SkeletonMesh. 2022-03-17 11:48:32 +01:00
Mario Zechner
8910544049 Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-03-17 00:10:28 +01:00
Mario Zechner
c14cef967f [ts][threejs] Clipping not properly ended for all code paths. 2022-03-17 00:07:46 +01:00
Mario Zechner
e96f3a0a98 Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/.vscode/launch.json
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-03-08 22:06:38 +01:00
Mario Zechner
6887aa617a [threejs] Fix clipping not being ended, better alpha test support. 2022-03-08 22:03:01 +01:00
Mario Zechner
7031982333 [threejs] Explicitely discard fragments with alpha < 0.5, closes #1985 2022-02-02 12:12:09 +01:00
Mario Zechner
738217f8c1 [threejs] Explicitely discard fragments with alpha < 0.5, closes #1985 2022-02-02 12:11:48 +01:00
badlogic
ecbe087227 Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/spine-threejs/package.json
2021-10-20 00:10:54 +02:00
badlogic
38cc19f16d [ts][threejs] Added multi-page atlas and blend modes support
Also updated to latest ThreeJS release and some clean-up.
2021-10-20 00:09:31 +02:00
Mario Zechner
81927051ff [ts] Port of sequence attachments, see #1956
SkeletonJson parsing of sequence timelines incomplete. Untested.
2021-10-13 01:14:58 +02:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Mario Zechner
39df4c7cbb [ts] Formatter pass 2021-08-27 17:24:18 +02:00
Mario Zechner
bf347df8af [ts] Modularized spine-threejs, removed threejs typings 2021-08-26 14:20:27 +02:00
Mario Zechner
474dae82a0 ES2015 modulification of spine-ts core. 2021-08-20 16:24:10 +02:00