Commit graph

16166 commits

Author SHA1 Message Date
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
Richard Davey
361704f048 Only reset post pipeline if it has one. Fix #5421 2020-12-02 12:23:59 +00:00
Richard Davey
9f8f76c690 Removed unused property 2020-12-02 12:23:40 +00:00
Richard Davey
e41d5a0296 Tidying up the class 2020-12-02 11:45:38 +00:00
Richard Davey
e8a36a2477 Update WebGLPipelineUniformsConfig.js 2020-12-02 11:11:52 +00:00
Richard Davey
a694590945 Fixed for 3.50 Beta 12 2020-12-02 11:11:48 +00:00
Richard Davey
1868a749cb Enable Lights Plugin again 2020-12-02 11:11:34 +00:00
Richard Davey
2d78642944 Pipelines now populate their own uniforms 2020-12-02 11:11:24 +00:00
Richard Davey
dd1757a288 Shaders will now automatically get all active uniforms and populate the uniforms object 2020-12-02 11:11:08 +00:00
Richard Davey
e29626ab2c Testing Light Layer 2020-12-01 17:24:30 +00:00
Richard Davey
24c4dee27d Update CHANGELOG-v3.50.md 2020-12-01 17:24:23 +00:00
Richard Davey
cbf15747c7 Set default size to 1 2020-12-01 17:24:16 +00:00
Richard Davey
079dbcc72f Back to Normal Map only pipeline 2020-12-01 17:24:04 +00:00
Richard Davey
ce6a81c97d Updated JSDocs 2020-12-01 17:23:53 +00:00
Richard Davey
c1bf08de70 New Point Light class 2020-12-01 17:23:42 +00:00
Richard Davey
ea6a7d0f05 Install Point Light Pipeline (build flag?) 2020-12-01 17:23:33 +00:00
Richard Davey
05e046eb0e Added Point Light Pipeline to the const 2020-12-01 17:23:18 +00:00
Richard Davey
496564e9d0 Create PointLightPipeline.js 2020-12-01 17:23:03 +00:00
Richard Davey
c8a8f59d69 New Point Light shader 2020-12-01 17:22:57 +00:00
Richard Davey
239e44b264 Improved docs 2020-11-30 16:13:03 +00:00
Richard Davey
57e6246c52 Added limit parameter 2020-11-30 16:12:55 +00:00