Commit graph

15111 commits

Author SHA1 Message Date
Richard Davey
d33c69b65c Updated the shaders 2020-09-21 18:23:41 +01:00
Richard Davey
b8f1db88c4 Update CHANGELOG-v3.50.md 2020-09-21 15:58:01 +01:00
Richard Davey
24f7c2e3df Updated to use RGB objects, finished missing methods 2020-09-21 15:57:57 +01:00
Richard Davey
893453f840 New uniforms handler, new cache and dirty checks 2020-09-21 15:57:38 +01:00
Richard Davey
33734309f1 Clean the mesh after rendering 2020-09-21 15:57:21 +01:00
Richard Davey
989e3e6e07 Swapped to use RGB objects 2020-09-21 15:57:11 +01:00
Richard Davey
82c8ada236 Added fog, dirty refresh and preUpdate handler 2020-09-21 15:56:58 +01:00
Richard Davey
27eafe3661 New Face and Vertex typedefs 2020-09-21 15:56:21 +01:00
Richard Davey
977054a7c8 Added new RGB class to encapsulate color data 2020-09-21 15:56:09 +01:00
Richard Davey
4549fb4320 Updated type defs 2020-09-21 14:05:51 +01:00
Richard Davey
f2f3aea79a Shorter errors 2020-09-21 14:05:38 +01:00
Richard Davey
9bb510be0c Now caches uniform locations and added all of the new set1f etc uniform methods 2020-09-21 14:05:30 +01:00
Richard Davey
7a8932a3a4 Remove log 2020-09-21 14:04:52 +01:00
Richard Davey
864b518a4f Update CHANGELOG-v3.50.md 2020-09-21 10:14:02 +01:00
Richard Davey
7f7d7a1b2e Can now rotate the model 2020-09-21 10:13:58 +01:00
Richard Davey
1b4af32ec2 The Quaternion class constructor will now default the values to 0,0,0,1 if they're not provided, making it an identity quaternion, rather than the 0,0,0,0 it was before. 2020-09-21 10:13:50 +01:00
Richard Davey
daa6fc63ee Update CHANGELOG-v3.50.md 2020-09-21 09:54:23 +01:00
Richard Davey
a8df17b622 Corrected JSDocs 2020-09-21 09:54:23 +01:00
Richard Davey
99953b94b6
Merge pull request #5311 from vforsh/master
Add ability to use custom easing function(s) with particle emitters
2020-09-21 09:40:26 +01:00
Richard Davey
3672559fc1
Merge pull request #5315 from samme/feature/onWorldBounds
Add onWorldBounds argument in Arcade.Body#setCollideWorldBounds()
2020-09-21 09:38:05 +01:00
Richard Davey
e7f6e8aa57
Merge pull request #5317 from samme/docs/cursorKeys
Docs: correct CursorKeys
2020-09-21 09:35:31 +01:00
Richard Davey
48272312ed
Merge pull request #5318 from samme/fix/getMatching
Fix Group#getMatching()
2020-09-21 09:34:03 +01:00
Richard Davey
78c1eb7934 Removed debug, modified signatuers, added fog 2020-09-21 00:17:58 +01:00
Richard Davey
0ad265da2e Removed faces and verts arrays as moved to a single ArrayBuffer instance 2020-09-21 00:17:38 +01:00
Richard Davey
56caeb126f Renders whole buffer in a single draw with no vertex iteration 2020-09-21 00:17:14 +01:00
Richard Davey
1d2a8bc58f Added fog to shader 2020-09-21 00:16:43 +01:00
samme
d4059c8f6e Fix Group#getMatching 2020-09-19 10:10:25 -07:00
Richard Davey
8366d90f96 Added material and other new methods 2020-09-18 17:52:53 +01:00
Richard Davey
374cc84be8 Now the pipeline does it all 2020-09-18 17:52:41 +01:00
Richard Davey
561a1b54a2 Handle vertex normals too 2020-09-18 17:52:30 +01:00
Richard Davey
640ce49d93 Update MeshCamera.js 2020-09-18 17:52:20 +01:00
Richard Davey
6e62ada207 Created new MeshLight class 2020-09-18 17:52:15 +01:00
Richard Davey
307cbe130f New Mesh Shader 2020-09-18 17:51:23 +01:00
Richard Davey
9a1b252a11 Use shouldFlush 2020-09-18 17:50:57 +01:00
Richard Davey
371fb5e68a Added normals, removed Vec3 2020-09-18 17:50:47 +01:00
Richard Davey
0e2911c4a5 Added fromRotation and mult methods 2020-09-18 17:50:40 +01:00
Richard Davey
0013db3747 Created new Mesh Pipeline 2020-09-18 17:50:20 +01:00
samme
08b2ea467b Docs: correct CursorKeys
Properties not optional
2020-09-18 08:57:05 -07:00
Richard Davey
74f35acad1 Better docs 2020-09-18 16:38:26 +01:00
samme
2eb505c91d Docs: Arcade.Body#setCollideWorldBounds 2020-09-17 14:20:13 -07:00
samme
7aa8f02d8c Add onWorldBounds arg in setCollideWorldBounds() 2020-09-17 14:19:57 -07:00
Richard Davey
af27284202 Update CHANGELOG-v3.50.md 2020-09-17 18:08:29 +01:00
Richard Davey
5b8e490c7e Flush during render so we can have models with more vertices than the batch allows 2020-09-17 18:08:25 +01:00
Richard Davey
5ff9894925 MeshCamera now supports orbit and pan modes 2020-09-17 18:08:07 +01:00
Richard Davey
d40f99c332 Vertor3.addScale is a new method that will add the given vector and multiply it in the process. 2020-09-17 18:07:54 +01:00
Richard Davey
8af35be8f1 Make defaults match JSDocs 2020-09-17 18:06:59 +01:00
Richard Davey
6ce58ed73b Let them define the orientation 2020-09-17 10:08:15 +01:00
Richard Davey
87ed734475 Easier iteration 2020-09-17 10:08:07 +01:00
Richard Davey
f853a2be70 Use the projected coordinates 2020-09-17 10:07:56 +01:00
Richard Davey
38958d025a We need the z axis 2020-09-17 10:07:19 +01:00