Commit graph

18561 commits

Author SHA1 Message Date
Richard Davey
2aae7b37fa Added more jsdocs and default values 2023-02-16 22:15:22 +00:00
Richard Davey
b7e9fe23af Add default values and allow passing from the methods 2023-02-16 18:50:42 +00:00
Richard Davey
cbf42feee1 Refactored so FX is a class sitting on a property, rather than a mixin. 2023-02-16 18:39:14 +00:00
Richard Davey
260f4db5a5 Use new shader array 2023-02-16 16:13:52 +00:00
Richard Davey
d9570b1b0b Shaders can be an array of strings 2023-02-16 16:13:37 +00:00
Richard Davey
a93425ef0d Bundle Shaders now produces an index.js 2023-02-16 16:13:22 +00:00
Richard Davey
dd2efb6e5c Added Bokeh and TiltShift FX 2023-02-16 15:04:37 +00:00
Richard Davey
293ea49a39 Update FX.js 2023-02-16 12:59:57 +00:00
Richard Davey
9011d78fd4 Added Wipe FX 2023-02-16 12:53:31 +00:00
Richard Davey
bbc74c4d8e Much neater 2023-02-16 01:55:52 +00:00
Richard Davey
e48d49d29f Added Displacement FX 2023-02-16 01:52:00 +00:00
Richard Davey
238d3332dd Merge branch 'master' of https://github.com/photonstorm/phaser 2023-02-16 00:42:20 +00:00
Richard Davey
526a6489ba Added BarrelFX 2023-02-16 00:42:17 +00:00
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
samme
2a5a7d07f9 Fix "listener.positionX is undefined" error
Fixes #6385
2023-02-13 10:12:04 -08:00
Richard Davey
c09ce7b2e9 Upgraded eslint 2023-02-13 14:51:31 +00:00