Commit graph

16337 commits

Author SHA1 Message Date
Richard Davey
7dba1c4b2f Update BaseCamera.js 2020-12-07 13:09:12 +00:00
Richard Davey
607fb6ff7c Make docs crystal clear 2020-12-07 12:25:57 +00:00
Richard Davey
d0225f5aa0 Update CHANGELOG-v3.50.md 2020-12-07 12:19:45 +00:00
Richard Davey
d6d5c09552 The Shader Game Object now supports being able to use a Render Texture as a sampler2D texture on the shader. Fix #5423 2020-12-07 12:19:42 +00:00
Richard Davey
15a6f50d2c Fixed functions not appearing in the namespace. Fix #5432 2020-12-07 10:11:47 +00:00
Richard Davey
0951a1d2ea Fixed tint property. Fix #5433 2020-12-07 09:42:21 +00:00
Richard Davey
13369d226d Removed slack link 2020-12-07 09:18:13 +00:00
Richard Davey
e9d359c4d2 Update README.md 2020-12-05 11:19:48 +00:00
Richard Davey
2ffe15109b Rebuilt for latest Spine Runtimes 2020-12-05 11:18:05 +00:00
Richard Davey
1de2bb8616 Update README.md 2020-12-05 11:17:47 +00:00
Richard Davey
402e6d23b1 Testing making the pipeline responsible for setting the buffer to cut down on potential points of failure 2020-12-04 18:06:16 +00:00
Richard Davey
c6489cf730 Remove un-used shader 2020-12-04 15:29:55 +00:00
Richard Davey
08b304372c Made the Render Events global, not WebGL specific and allowed Canvas Renderer to emit them too 2020-12-04 15:07:26 +00:00
Richard Davey
682a85c683 Preparing for beta 13 2020-12-04 13:50:02 +00:00
Richard Davey
1a0e9faae7 3.50 Beta 12 Defs 2020-12-04 13:40:44 +00:00
Richard Davey
509fbcae44 Update PipelineManager.js 2020-12-04 13:40:32 +00:00
Richard Davey
725271249f No tileset? Continue the loop. 2020-12-04 13:07:14 +00:00
Richard Davey
e2ccfffd3b Split up the classes to avoid plugin issues. Fix #5420 2020-12-04 13:04:48 +00:00
Richard Davey
a7f246a241 Swap queue order 2020-12-04 12:55:26 +00:00
Richard Davey
e0ae7ef14e Update TransformMatrix.js 2020-12-04 12:00:31 +00:00
Richard Davey
dab806e371 Can use same matrix 2020-12-04 12:00:23 +00:00
Richard Davey
edc076674e New Resize handler. Fix #5412 2020-12-04 11:59:47 +00:00
Richard Davey
e12172f88a Update CHANGELOG-v3.50.md 2020-12-03 15:46:30 +00:00
Richard Davey
4d872e2e9d RenderTexture.erase has never worked when using the Canvas Renderer and a texture frame, only with Game Objects. It now works with both. Fix #5422 2020-12-03 15:46:26 +00:00
Richard Davey
6bb6ff8ef4 Updated JSDocs to clarify issue. Fix #4692 2020-12-03 15:14:34 +00:00
Richard Davey
9f631f2d92 Update CHANGELOG-v3.50.md 2020-12-03 15:06:57 +00:00
Richard Davey
077d53309b BitmapMask would become corrupted when resizing the Phaser Game, either via the Scale Manager or directly, because the framebuffer and texture it used for rendering was still at the old dimensions. The BitmapMask now listens for the Renderer RESIZE event and re-creates itself accordingly. Fix #5399 2020-12-03 15:06:54 +00:00
Richard Davey
38b6d83462 Fixed Canvas Alpha RenderTexture issue. Fix #5426 2020-12-03 14:48:21 +00:00
Richard Davey
8ff62d40af Moved event emitter. Fix #5427 2020-12-03 14:34:32 +00:00
Richard Davey
0d6d7848cd No need for dirty property 2020-12-03 14:31:54 +00:00
Richard Davey
82c1ea87da Reset the projection matrix to avoid cache by reference errors. Fix #5425 2020-12-03 14:31:45 +00:00
Richard Davey
3344fc12bf Added resetUniform method 2020-12-03 14:31:21 +00:00
Richard Davey
103b91a69d Add attenuation parameter and fixed color divisor 2020-12-03 12:52:36 +00:00
Richard Davey
d2b8f0b7e4 Factor in Camera Zoom to radius 2020-12-03 12:52:12 +00:00
Richard Davey
8174ec2daf Fixed light distance and max test 2020-12-03 11:11:41 +00:00
Richard Davey
4d7435f468 Update LightPipeline.js 2020-12-03 11:11:30 +00:00
Richard Davey
97d9cc6fb9 Create 1 shader per light count. Avoids all pointless iteration within the shaders 2020-12-03 10:16:00 +00:00
Richard Davey
8b6d03faaf Fixed JSDoc 2020-12-03 10:15:25 +00:00
Richard Davey
b00d813b61 Update CHANGELOG-v3.50.md 2020-12-02 17:57:36 +00:00
Richard Davey
39d45258de Removed un-used properties and improved render function massively 2020-12-02 17:57:32 +00:00
Richard Davey
732b188691 Removed light pool, used RGB object, much better light culling. 2020-12-02 17:57:12 +00:00
Richard Davey
97fd175e73 Extends Circle, because it is! Removed loads of pointless setters. 2020-12-02 17:56:53 +00:00
Richard Davey
913597c511 Update CHANGELOG-v3.50.md 2020-12-02 16:08:00 +00:00
Richard Davey
639b9bfc84 Added beginDraw, batchDraw, batchDrawFrame and endDraw methods for full batch control over the drawing. 2020-12-02 16:07:58 +00:00
Richard Davey
c10fb834e0 Fixed Tilemap Layer Light2D batch 2020-12-02 15:03:46 +00:00
Richard Davey
35146e72ed Removed Light Layer and moved Point Light to its own Game Object 2020-12-02 13:48:38 +00:00
Richard Davey
20f3f0b973 Update CHANGELOG-v3.50.md 2020-12-02 13:15:33 +00:00
Richard Davey
375d6fa196 Updated docs 2020-12-02 13:15:27 +00:00
Richard Davey
6b1fda19e1 Use onActive and reset textures, fixing all rendering issues 2020-12-02 13:15:16 +00:00
Richard Davey
2687be611a Added on onActive hook 2020-12-02 13:14:57 +00:00