Commit graph

18488 commits

Author SHA1 Message Date
Richard Davey
2685510a86
Merge pull request #6390 from samme/docs/createFromObjects
Docs: createFromObjects() description
2023-02-15 23:51:17 +00:00
Richard Davey
9aa58008bf Finished Circle shader and CircleFX Pipeline 2023-02-15 23:48:34 +00:00
samme
c7148b3378 Docs: createFromObjects() description
#5698
2023-02-15 13:40:17 -08:00
Richard Davey
ffa50913f4 Shader update? 2023-02-15 18:50:59 +00:00
Richard Davey
5125d91509 Create FXCircle.frag 2023-02-15 18:50:47 +00:00
Richard Davey
720417c3dd Added ColorMatrix 2023-02-15 18:50:44 +00:00
Richard Davey
2d58ee2453 Create CircleFXPipeline.js 2023-02-15 18:50:12 +00:00
Richard Davey
3fb415b926 Create ColorMatrixFXPipeline.js 2023-02-15 18:50:07 +00:00
Richard Davey
4d273254e5 Testing ColorMatrix FX 2023-02-15 13:47:56 +00:00
Richard Davey
399241b9c4 vertShader is the default :) 2023-02-15 01:20:53 +00:00
Richard Davey
674253ec8c Update CHANGELOG-v3.60.md 2023-02-15 01:15:28 +00:00
Richard Davey
1cf3aa428a Exposed all the FX pipelines for easier access 2023-02-15 01:15:25 +00:00
Richard Davey
e1391445fe If you add #define SHADER_NAME to the start of your shader then it will be picked up as the WebGLShader name during the setShadersFromConfig process within WebGLPipeline. 2023-02-15 01:15:01 +00:00
Richard Davey
b40cc9b584 Tweaked alpha 2023-02-15 00:50:31 +00:00
Richard Davey
a93a6c75c3 Added working BloomFX 2023-02-15 00:50:26 +00:00
Richard Davey
ca2c81fd79 Fix package name 2023-02-15 00:07:43 +00:00
Richard Davey
b615e67a3b Rename LinearGradient to Gradient and use better shader 2023-02-15 00:05:33 +00:00
Richard Davey
03104d0a8c Optimize size of shaders by removing comments and blank lines 2023-02-15 00:05:16 +00:00
Richard Davey
58576252cb Fixed BlurFX and added LinearGradientFX 2023-02-14 23:45:44 +00:00
Richard Davey
65f3d340ec Working through Blur FX 2023-02-14 18:53:52 +00:00
Richard Davey
15f296824c Improved Vignette shader dramatically 2023-02-14 15:49:33 +00:00
Richard Davey
729f446e66 Added Shadow, Vignette, Pixelate and Shine FX 2023-02-14 13:33:07 +00:00
Richard Davey
bf1cf3409c Update CHANGELOG-v3.60.md 2023-02-14 13:11:33 +00:00
Richard Davey
765afecbea The WebGLPipeline.setTime method has a new optional parameter shader, which allows you to control the shader on which the time value is set. 2023-02-14 13:11:29 +00:00
Richard Davey
28f088184f Expose GlowFXPipeline 2023-02-14 01:30:57 +00:00
Richard Davey
9f53a0460a Added GlowFX by default (testing) 2023-02-14 01:30:47 +00:00
Richard Davey
13e2e15914 New and improved fx handling 2023-02-14 01:30:37 +00:00
Richard Davey
4f5da3b3b8 Added jsdocs 2023-02-14 01:30:23 +00:00
Richard Davey
428f008337 Import namespace 2023-02-14 01:30:07 +00:00
Richard Davey
3f428c4295 jsdocs fix 2023-02-14 01:29:57 +00:00
Richard Davey
2589557f4d Don't resize if locked from resizing 2023-02-14 01:29:46 +00:00
Richard Davey
050f3d4708 Reset default strength 2023-02-14 01:29:21 +00:00
Richard Davey
34c3468961 Create GlowFXPipeline.js 2023-02-14 01:29:05 +00:00
Richard Davey
ed1f79e57e Added Vignette and BaseFX class 2023-02-13 21:21:18 +00:00
Richard Davey
532d5a9375 Revised FX pipeline. Added Glow, Shadow and Pixelate. Tested against multi-pass. 2023-02-13 18:50:27 +00:00
Richard Davey
c09ce7b2e9 Upgraded eslint 2023-02-13 14:51:31 +00:00
Richard Davey
963ff647e6 Testing out a possible FX Pipeline 2023-02-13 01:30:22 +00:00
Richard Davey
98ced9a38b Update CHANGELOG-v3.60.md 2023-02-12 21:09:02 +00:00
Richard Davey
cf6b0971cb Renaming SpriteFX to PreFX 2023-02-12 21:08:58 +00:00
Richard Davey
ed205f586b Bloom FX 2023-02-09 18:46:49 +00:00
Richard Davey
f6f1bf2281 Corrected jsdocs 2023-02-09 16:30:03 +00:00
Richard Davey
56e233f539 Updated for 3.60 Beta 19 2023-02-08 14:36:26 +00:00
Richard Davey
d8ea418ae6 Gave Camera post pipeline 2023-02-07 21:37:04 +00:00
Richard Davey
2f081ab360 Fixed various jsdocs 2023-02-07 01:24:10 +00:00
Richard Davey
41fca78dda Update CHANGELOG-v3.60.md 2023-02-06 17:44:26 +00:00
Richard Davey
197d2215a7 If a SpineContainer had a mask applied to it and the next immediate item on the display list was another Spine object (outside of the Container) then it would fail to rebind the WebGL pipeline, causing the mask to break. It will now rebind the renderer at the end of the SpineContainer batch, no matter what, if it has a mask. Fix #5627 2023-02-06 17:44:22 +00:00
Richard Davey
31ee106a8d Update CHANGELOG-v3.60.md 2023-02-06 17:35:53 +00:00
Richard Davey
083a465f8d Previously, it wasn't possible for multiple Spine Atlases to use PNGs with the exact same filename, even if they were in different folders. The SpineFile loader has now been updated so that the always-unique Spine key is pre-pended to the filename, for example if the key was bonus and the PNG in the atlas was coin.png then the final key (as stored in the Texture Manager) is now bonus:coin.png. The SpinePlugin.getAtlasCanvas and getAtlasWebGL methods have been updated to reflect this change. Fix #6022 2023-02-06 17:35:50 +00:00
Richard Davey
b4ea85107b Update CHANGELOG-v3.60.md 2023-02-06 16:45:38 +00:00
Richard Davey
1fa400b431 The Spine Plugin add and make functions didn't clear and rebind the WebGL pipeline. This could cause two different visual issues: The first is that a Phaser Game Object (such as a Sprite) could be seen to change its texture to display the Spine atlas texture instead for a single frame, and then on the next pass revert back to normal again. The second issue is that if the Spine skeleton wasn't added to the display list, but just created (via addToScene: false) then the Sprite would take on the texture frame entirely from that point on. Fix #6362 2023-02-06 16:44:32 +00:00