Commit graph

12162 commits

Author SHA1 Message Date
Richard Davey
3e432dc0e2
Merge pull request #6414 from ZekeLu/generateFrameNumbers
correct the docs for generateFrameNumbers
2023-03-17 16:12:17 +00:00
Richard Davey
6370e16b5d Fixed applyStencil and removed logs 2023-03-16 21:57:06 +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
feb25f8d71 Don't need this part any more 2023-03-16 18:23:01 +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
67592a0888 Store the level, fixed the stencil func for framebuffers and made level public 2023-03-14 19:46:18 +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
f82bf52cad Why clear alpha? 2023-03-09 18:34:01 +00:00
Richard Davey
9971c9f940 Fixed component 2023-03-09 18:33:54 +00:00
Richard Davey
2230a08e7e Fixed issue with cycle: true on frame and animation particle emitter configs 2023-03-09 18:12:19 +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
Zeke Lu
382b233c3d correct the docs for generateFrameNumbers
1. the function used in the example should be this.anims.generateFrameNumbers
instead of this.anims.generateFrameNames.
2. the end frame in the example should be 11 instead of 12
(see 6761ec92f5).
3. mark the "config" parameter as optional (the one for generateFrameNames is
already marked as optional).
2023-03-05 13:02:32 +08: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
4914e3ca36 DynamicTexture RenderTarget will autoResize. Fix #6411 2023-03-03 13:09:25 +00:00
Richard Davey
d51a8fb888 Improved jsdocs 2023-03-02 21:59:35 +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
4b1d3430b7 Update const.js 2023-03-01 15:19:37 +00:00
Richard Davey
aa3e1d17ce Updated documentation 2023-02-27 16:26:04 +00:00
Richard Davey
c4ab06d19f Calling setPostPipeline on a Game Object will now pass the pipelineData configuration object (if provided) to the pipeline instance being created. 2023-02-27 15:12:52 +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
43a20e571e Added glowFXQuality and glowFXDistance config options 2023-02-27 13:48:31 +00:00
Richard Davey
5997c814bb Remove distance parameter 2023-02-27 13:48:12 +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
1b31ec12c1 Update Barrel.js 2023-02-27 13:47:19 +00:00
Richard Davey
e79f218472 Fix onFXCopy path. Fix #6403 2023-02-26 16:44:29 +00:00
Richard Davey
4e93bbfb45 Fixed divide by 255 error. Fix #6404 2023-02-26 16:40:54 +00:00
Richard Davey
a6f3cebc76 Beta 20 2023-02-18 18:46:07 +00:00
Richard Davey
68186fae34
Merge pull request #6382 from alxwest/spatial-sound
Spatial sound
2023-02-17 17:32:54 +00:00
Richard Davey
00ab0fe601
Merge pull request #6384 from EmilSV/container_getBounds_text
container#getBounds now also support getTextBounds for bounds calcula…
2023-02-17 17:31:57 +00:00
Richard Davey
a3b771e5ee
Merge pull request #6388 from samme/fix/listener-positionX
Fix "listener.positionX is undefined" error
2023-02-17 17:30:23 +00:00
Richard Davey
3bbb619562
Merge pull request #6386 from mizunokazumi/fix/component-transform-setscaleX-setscaley
Fix renderFlags after changing scaleX/scaleY
2023-02-17 17:26:19 +00:00