Commit graph

1196 commits

Author SHA1 Message Date
Richard Davey
1750caca18 Update PreFXPipeline.js 2023-03-20 15:20:22 +00:00
Richard Davey
4fbd7eec82 Rename zero method and remove logs 2023-03-16 21:56:55 +00:00
Richard Davey
27553a029b Call clearStencilMask 2023-03-16 21:56:46 +00:00
Richard Davey
b093ece620 Debugging stencil stack 2023-03-16 18:49:43 +00:00
Richard Davey
d316bacedb Update PreFXPipeline.js 2023-03-16 18:23:35 +00:00
Richard Davey
4c19106c63 Debugging fx stacks 2023-03-16 18:23:30 +00:00
Richard Davey
b3b12ae62c Testing pre/post mix 2023-03-14 22:03:38 +00:00
Richard Davey
8b2a701dbd Tidying up and restore stencil 2023-03-14 19:46:55 +00:00
Richard Davey
560dc8a783 Restore the stencil before draw 2023-03-14 19:46:41 +00:00
Richard Davey
38438954b8 Removed logs 2023-03-14 19:45:52 +00:00
Richard Davey
5b12080cef Added methods zeroStencilMask and restoreStencilMask 2023-03-14 19:45:44 +00:00
Richard Davey
d28863c986 Removed the logs and now zero the stencil upon bind 2023-03-14 19:42:09 +00:00
Richard Davey
c8acb16fa7 Added { willReadFrequently } to every canvas context, no matter where it comes from 2023-03-09 17:30:04 +00:00
Richard Davey
f3028118d3 Debugging 2023-03-03 18:54:02 +00:00
Richard Davey
684a2ab35a setFramebuffer accepts texture and clear param 2023-03-03 18:53:36 +00:00
Richard Davey
b32286d198 Update PostFXPipeline.js 2023-03-03 18:53:36 +00:00
Richard Davey
4ce142c25b Working through fbo debugging 2023-03-03 13:41:57 +00:00
Richard Davey
fab1acd022 Debug logs 2023-03-02 18:46:23 +00:00
Richard Davey
4877efbe36 Added hasDepthBuffer property 2023-03-02 18:46:16 +00:00
Richard Davey
d1f2fb8dfc Reset current fbo instead of null 2023-03-02 18:46:04 +00:00
Richard Davey
8b493834dc Log can take any parameters 2023-03-02 18:45:42 +00:00
Richard Davey
4ae57fa593 Update jsdocs 2023-03-02 18:17:08 +00:00
Richard Davey
eaf6fa7f45 Added log method, depth buffer and missing parameter default 2023-03-02 18:16:59 +00:00
Richard Davey
aa3e1d17ce Updated documentation 2023-02-27 16:26:04 +00:00
Richard Davey
267f3160da PipelineManager.getPostPipeline now has an optional 3rd parameter, a config object that is passed to the pipeline instance in its constructor, which can be used by the pipeline during its set-up. 2023-02-27 15:12:40 +00:00
Richard Davey
88a59eb040 Post FX now supports custom quality and distance parameters. Fix #6393 2023-02-27 15:09:57 +00:00
Richard Davey
c58e0266c7 Use new Utils function 2023-02-27 13:48:40 +00:00
Richard Davey
6d48142f94 Use new consts to add mobile GPU speed-up 2023-02-27 13:47:55 +00:00
Richard Davey
7edc856154 Added setGlowQuality function 2023-02-27 13:47:33 +00:00
Richard Davey
e79f218472 Fix onFXCopy path. Fix #6403 2023-02-26 16:44:29 +00:00
Richard Davey
5ad4cbba7d Types fix 2023-02-17 17:25:11 +00:00
Richard Davey
0fe135cc8f Added documentation and method parameters 2023-02-17 17:07:22 +00:00
Richard Davey
5913f38b44 Update property name 2023-02-17 02:12:20 +00:00
Richard Davey
af3bb532b5 Use strings to retain correct mapping 2023-02-17 02:12:12 +00:00
Richard Davey
98c2fed09a controller not config 2023-02-17 01:10:36 +00:00
Richard Davey
7a1143731e Added getController method 2023-02-17 01:09:36 +00:00
Richard Davey
55cf81e46b All now use FX Controllers 2023-02-17 01:09:24 +00:00
Richard Davey
49c5c8bcec Remove log 2023-02-17 01:09:09 +00:00
Richard Davey
92152c16cf Add controller property 2023-02-16 23:50:01 +00:00
Richard Davey
b90c067112 Update path 2023-02-16 23:49:53 +00:00
Richard Davey
d6314de4db More default properties and exposing the FX consts 2023-02-16 23:06:53 +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
9011d78fd4 Added Wipe FX 2023-02-16 12:53:31 +00:00
Richard Davey
e48d49d29f Added Displacement FX 2023-02-16 01:52:00 +00:00
Richard Davey
526a6489ba Added BarrelFX 2023-02-16 00:42:17 +00:00
Richard Davey
9aa58008bf Finished Circle shader and CircleFX Pipeline 2023-02-15 23:48:34 +00:00