Richard Davey
|
6c00b5cfc4
|
Added onPreCopy
|
2021-10-14 18:51:39 +01:00 |
|
Richard Davey
|
8a89700bf7
|
Fixed shader uniform issue and tidied up code
|
2021-10-14 18:45:59 +01:00 |
|
Richard Davey
|
d5a86d7b07
|
Update SpriteFXPipeline.js
|
2021-10-14 01:08:06 +01:00 |
|
Richard Davey
|
5d2749f5d6
|
Update SpriteFXPipeline.js
|
2021-10-14 00:55:27 +01:00 |
|
Richard Davey
|
219ff50b90
|
Fixed copyFrame handling
|
2021-10-13 23:38:04 +01:00 |
|
Richard Davey
|
fd54fa741c
|
Update SpriteFXPipeline.js
|
2021-10-13 18:56:41 +01:00 |
|
Richard Davey
|
0bf366a096
|
Update SpriteFXPipeline.js
|
2021-10-13 13:04:08 +01:00 |
|
Richard Davey
|
803d71469e
|
Fixed the vert and uv handling
|
2021-10-12 21:47:48 +01:00 |
|
Richard Davey
|
3afc8b1a8e
|
Flip the verts
|
2021-10-12 21:47:33 +01:00 |
|
Richard Davey
|
2a473889dc
|
Update SpriteFXPipeline.js
|
2021-10-12 18:54:06 +01:00 |
|
Richard Davey
|
85c6c4be44
|
Swap frame support added and drawSprite method
|
2021-10-12 18:00:50 +01:00 |
|
Richard Davey
|
68c3fc4171
|
Fixed resizing. Set RTs in boot.
|
2021-10-12 16:09:53 +01:00 |
|
Richard Davey
|
6fe88aeee7
|
Refactored to use existing functions where possible
|
2021-10-12 13:32:39 +01:00 |
|
Richard Davey
|
9e9c9298eb
|
Much better renderTarget handling. Sprite now draws properly. Config handling done. Need to fix bindAndDraw
|
2021-10-12 01:03:45 +01:00 |
|
Richard Davey
|
904ca9f7c4
|
Removed SpriteFX as you extend it, not instantiate it
|
2021-10-12 01:03:04 +01:00 |
|
Richard Davey
|
e9d85c57ee
|
Update SpriteFXPipeline.js
|
2021-10-11 18:49:17 +01:00 |
|
Richard Davey
|
7af3693fb5
|
Add SpriteFX Pipeline to const and default array
|
2021-10-11 18:49:13 +01:00 |
|
Richard Davey
|
038ffa7b77
|
Create SpriteFXPipeline.js
|
2021-10-11 18:06:42 +01:00 |
|
Richard Davey
|
784f722b90
|
Remove, we'll handle this elsewhere
|
2021-10-11 17:56:11 +01:00 |
|
Richard Davey
|
c1430f41dc
|
Testing FX padding
|
2021-10-11 15:10:57 +01:00 |
|
Richard Davey
|
9879a1062e
|
Merged the Graphics Pipeline functions into the MultiPipeline
|
2021-04-16 18:18:42 +01:00 |
|
Richard Davey
|
dff17f52e8
|
The LightPipeline now only calls batchSprite , batchTexture and batchTextureFrame if the Scene Lights Manager is active. Fix #5522
|
2021-02-04 16:38:09 +00:00 |
|
Richard Davey
|
6912124780
|
Fixed docs
|
2020-12-15 16:05:34 +00:00 |
|
Richard Davey
|
00ec07d67f
|
JSDoc update
|
2020-12-14 13:36:51 +00:00 |
|
Richard Davey
|
cbe1a3219a
|
JSDoc improvements
|
2020-12-14 13:33:42 +00:00 |
|
Richard Davey
|
e4be6dbc90
|
Fixed JSDocs and removed unused method
|
2020-12-11 10:33:53 +00:00 |
|
Richard Davey
|
4f5cedde03
|
Better method name. Reset once done.
|
2020-12-10 16:58:34 +00:00 |
|
Richard Davey
|
edbef4a04a
|
Added eraseMode parameter
|
2020-12-09 15:54:56 +00:00 |
|
Richard Davey
|
16d4d11939
|
Final fixes to blitFrame
|
2020-12-09 15:20:09 +00:00 |
|
Richard Davey
|
1cb6d525be
|
New blitFrame working. Now to adjust when src > target height.
|
2020-12-09 14:08:24 +00:00 |
|
Richard Davey
|
daadb7d5b6
|
Fixed way in which custom vertices are defined in the config
|
2020-12-09 12:18:16 +00:00 |
|
Richard Davey
|
f93c3ea05f
|
Added Pipeline events
|
2020-12-08 16:15:46 +00:00 |
|
Richard Davey
|
c2bce98532
|
Added copyFrameRect method
|
2020-12-08 16:15:06 +00:00 |
|
Richard Davey
|
15a6f50d2c
|
Fixed functions not appearing in the namespace. Fix #5432
|
2020-12-07 10:11:47 +00:00 |
|
Richard Davey
|
0951a1d2ea
|
Fixed tint property. Fix #5433
|
2020-12-07 09:42:21 +00:00 |
|
Richard Davey
|
d2b8f0b7e4
|
Factor in Camera Zoom to radius
|
2020-12-03 12:52:12 +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
|
39d45258de
|
Removed un-used properties and improved render function massively
|
2020-12-02 17:57:32 +00:00 |
|
Richard Davey
|
c10fb834e0
|
Fixed Tilemap Layer Light2D batch
|
2020-12-02 15:03:46 +00:00 |
|
Richard Davey
|
6b1fda19e1
|
Use onActive and reset textures, fixing all rendering issues
|
2020-12-02 13:15:16 +00:00 |
|
Richard Davey
|
e41d5a0296
|
Tidying up the class
|
2020-12-02 11:45:38 +00:00 |
|
Richard Davey
|
a694590945
|
Fixed for 3.50 Beta 12
|
2020-12-02 11:11:48 +00:00 |
|
Richard Davey
|
2d78642944
|
Pipelines now populate their own uniforms
|
2020-12-02 11:11:24 +00:00 |
|
Richard Davey
|
079dbcc72f
|
Back to Normal Map only pipeline
|
2020-12-01 17:24:04 +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
|
e020898134
|
Update LightPipeline.js
|
2020-11-30 09:46:28 +00:00 |
|
Richard Davey
|
451656c54f
|
Use getXRound and getYRound
|
2020-11-26 11:39:08 +00:00 |
|
Richard Davey
|
c8cdf9fde2
|
Fixed Render Texture crop
|
2020-11-26 11:28:25 +00:00 |
|
Richard Davey
|
0ee1338765
|
Better post pipeline call (less code)
|
2020-11-26 09:51:40 +00:00 |
|
Richard Davey
|
d2e2e86ef1
|
Updated accessor
|
2020-11-23 16:22:11 +00:00 |
|
Richard Davey
|
ec5da6930c
|
Added post pipeline support to all Game Objects
|
2020-11-23 16:17:13 +00:00 |
|
Richard Davey
|
28d925b875
|
JSDoc fixes
|
2020-11-23 15:06:45 +00:00 |
|
Richard Davey
|
02c34cd64e
|
Replace integer with number
|
2020-11-23 10:22:13 +00:00 |
|
Richard Davey
|
5ca5a63038
|
Testing new Lights
|
2020-11-23 10:19:31 +00:00 |
|
Richard Davey
|
30c2eb5d0e
|
Ability to link Post Pipeline to owner object
|
2020-11-20 17:29:42 +00:00 |
|
Richard Davey
|
0b589564ea
|
JSDoc fixes
|
2020-11-20 16:37:53 +00:00 |
|
Richard Davey
|
e7b85b08af
|
Fixed batchLight
|
2020-11-20 13:05:32 +00:00 |
|
Richard Davey
|
e80ed9464a
|
Removed copy params
|
2020-11-19 16:40:42 +00:00 |
|
Richard Davey
|
82ca007d1a
|
Added cropWidth and cropHeight parameters to batchTextureFrame method
|
2020-11-19 11:37:38 +00:00 |
|
Richard Davey
|
c4c849cff4
|
Reset Textures
|
2020-11-17 19:58:35 +00:00 |
|
Richard Davey
|
2c88b8935b
|
Auto-boot and set isPostFX
|
2020-11-17 14:09:47 +00:00 |
|
Richard Davey
|
9cf67722ec
|
Don't forget to reset the viewport
|
2020-11-16 17:52:11 +00:00 |
|
Richard Davey
|
9cfa8f5039
|
Added option to clear bind target
|
2020-11-15 17:49:29 +00:00 |
|
Richard Davey
|
5062c97784
|
Added copyToGame method to finalise fbo to renderer
|
2020-11-15 17:32:37 +00:00 |
|
Richard Davey
|
ce0b9d94c5
|
Added option to clear frame before copy
|
2020-11-15 12:53:33 +00:00 |
|
Richard Davey
|
314a0bbf4e
|
Added ability to bind and draw to a target.
|
2020-11-14 17:58:00 +00:00 |
|
Richard Davey
|
d87cf4e915
|
Always pop and reset!
|
2020-11-13 18:03:03 +00:00 |
|
Richard Davey
|
d07b2fc811
|
Lots more documentation added
|
2020-11-13 17:46:05 +00:00 |
|
Richard Davey
|
bbbb49f4b5
|
Handy references
|
2020-11-13 17:31:27 +00:00 |
|
Richard Davey
|
701ad1fa15
|
ColorMatrix alpha support and viewport setting
|
2020-11-13 17:31:17 +00:00 |
|
Richard Davey
|
cf275b44d6
|
Added all JSDocs
|
2020-11-13 15:54:36 +00:00 |
|
Richard Davey
|
6a97fe6889
|
Lots of handy methods added and fixed vertices
|
2020-11-13 14:20:26 +00:00 |
|
Richard Davey
|
2d3248025a
|
Lots of tidying up, added blend methods
|
2020-11-13 14:20:07 +00:00 |
|
Richard Davey
|
d7a0bddfcb
|
Handled in batchQuad method
|
2020-11-13 14:19:12 +00:00 |
|
Richard Davey
|
6dc07dad3e
|
Added ColorMatrix class and proper verts
|
2020-11-12 18:09:37 +00:00 |
|
Richard Davey
|
a6ba0539de
|
Update PostFXPipeline.js
|
2020-11-11 17:47:24 +00:00 |
|
Richard Davey
|
1ff6b0dce5
|
Expose Utility Pipeline
|
2020-11-11 17:46:28 +00:00 |
|
Richard Davey
|
b9cc4bfb5b
|
Create UtilityPipeline.js
|
2020-11-11 17:46:03 +00:00 |
|
Richard Davey
|
8e7171ca79
|
Use fbo stack and free-up callback hooks
|
2020-11-10 17:26:56 +00:00 |
|
Richard Davey
|
47009779fb
|
Hard-code the topology
|
2020-11-10 15:50:17 +00:00 |
|
Richard Davey
|
84f6849ad6
|
Fixed Bitmap Mask
|
2020-11-10 14:33:28 +00:00 |
|
Richard Davey
|
7a5165c87b
|
Limit batch size to 1
|
2020-11-10 12:35:01 +00:00 |
|
Richard Davey
|
eda0ca8a75
|
Use GLenum value and limit batch size to 256
|
2020-11-10 12:34:53 +00:00 |
|
Richard Davey
|
e7319907c7
|
PostFX Pipeline only needs a single quad
|
2020-11-10 11:59:28 +00:00 |
|
Richard Davey
|
ca52436340
|
Removed Camera Pipeline
|
2020-11-10 11:59:12 +00:00 |
|
Richard Davey
|
94d2889783
|
Moved setTexture2D to pipeline class
|
2020-11-10 11:58:53 +00:00 |
|
Richard Davey
|
cb7a998ea0
|
Added onBatch support
|
2020-11-09 12:17:45 +00:00 |
|
Richard Davey
|
abe97b18fd
|
Remove drawFillRect and no batchTexture post fx
|
2020-11-06 17:22:05 +00:00 |
|
Richard Davey
|
167f50f28f
|
Added new PostFX Pipeline to extend from
|
2020-11-06 15:35:05 +00:00 |
|
Richard Davey
|
701b899511
|
Update MultiPipeline.js
|
2020-11-05 18:05:58 +00:00 |
|
Richard Davey
|
18d2de8f1c
|
Update SinglePipeline.js
|
2020-11-05 18:05:49 +00:00 |
|
Richard Davey
|
e9efc5e8f2
|
Invokes pre and post batch functions.
|
2020-11-04 18:02:22 +00:00 |
|
Richard Davey
|
305106bebe
|
Correct sampler ID
|
2020-11-04 18:01:11 +00:00 |
|
Richard Davey
|
ebe5ba1a0a
|
New attributes, removed un-used properties, fixed JSDocs
|
2020-11-03 11:32:05 +00:00 |
|
Richard Davey
|
3caa51a938
|
Update GraphicsPipeline.js
|
2020-11-02 16:20:16 +00:00 |
|
Richard Davey
|
ca4168e5d0
|
New Camera Pipeline, better boot handling, tidied up docs
|
2020-10-30 17:50:58 +00:00 |
|
Richard Davey
|
d39968e0a1
|
Parameter not needed
|
2020-10-29 17:22:39 +00:00 |
|
Richard Davey
|
024f13f2ba
|
No longer use uViewMatrix or uModelMatrix
|
2020-10-29 14:37:52 +00:00 |
|