Commit graph

16337 commits

Author SHA1 Message Date
Richard Davey
5a532da7bf Disable scissor before clearing. 2020-12-14 09:08:28 +00:00
Richard Davey
c83622d349 Always return polygon, even if points <= 2. 2020-12-14 09:03:35 +00:00
Richard Davey
0cd192eec8 Swapped for Color component. Fix #5435 2020-12-11 15:56:21 +00:00
Richard Davey
7a3bb23a9a New build of the Spine Plugin 2020-12-11 13:43:05 +00:00
Richard Davey
1a65f50a25 Added new renderDirect hook which RenderTexture can use. Fix #5431 2020-12-11 13:40:53 +00:00
Richard Davey
297c44595a Enforce this on Container children only 2020-12-11 13:19:26 +00:00
Richard Davey
1d56c360af Fixed docs and ended batch if rendering. 2020-12-11 13:13:28 +00:00
Richard Davey
cdad93e0ca Pass the container to willRender 2020-12-11 13:13:08 +00:00
Richard Davey
06155cb06a Updated docs 2020-12-11 13:12:57 +00:00
Richard Davey
69a7d5f756 No need to vertically flip any longer. Fix #5428 2020-12-11 12:42:26 +00:00
Richard Davey
166c333d13 Should rebind shaders too 2020-12-11 12:41:48 +00:00
Richard Davey
ab1646c2a0 Update BaseCamera.js 2020-12-11 12:41:35 +00:00
Richard Davey
9412a93fdb Remove log 2020-12-11 11:46:28 +00:00
Richard Davey
59e89fa788 All Game Objects will now listen for ADDED_TO_SCENE and REMOVED_FROM_SCENE events and call the handlers. Therefore, removed GO specific implementations. 2020-12-11 11:44:21 +00:00
Richard Davey
519afd031b Fixed Camera Fade Effect check. Fix #5438 2020-12-11 11:29:16 +00:00
Richard Davey
32440cb238 Defaults to renderer aspect ratio to help with issues like #5444 2020-12-11 11:05:47 +00:00
Richard Davey
af665ed7bb Update CHANGELOG-v3.50.md 2020-12-11 11:05:24 +00:00
Richard Davey
69f4a6d8fb Added getAspectRatio method 2020-12-11 11:05:20 +00:00
Richard Davey
e4be6dbc90 Fixed JSDocs and removed unused method 2020-12-11 10:33:53 +00:00
Richard Davey
277bf6b2d8 Update CHANGELOG-v3.50.md 2020-12-11 10:26:18 +00:00
Richard Davey
11990bccb4 Added global projection matrix back and removed events 2020-12-11 10:26:15 +00:00
Richard Davey
0d67548343 Compare projection matrix with renderer 2020-12-11 10:24:47 +00:00
Richard Davey
8839007e0f Update the projection matrix on bind 2020-12-11 10:24:27 +00:00
Richard Davey
dbae58368d Removed event as no longer required 2020-12-11 10:24:15 +00:00
Richard Davey
27da1dfa4b Clear just the color buffer 2020-12-11 10:24:05 +00:00
Richard Davey
1857c3f2da Send dimensions and reset scissors 2020-12-10 18:07:41 +00:00
Richard Davey
7acbd816f3 Added new Projection Update event and respond to it 2020-12-10 18:07:25 +00:00
Richard Davey
4f5cedde03 Better method name. Reset once done. 2020-12-10 16:58:34 +00:00
Richard Davey
f1dbea4ead beginCapture can accept dimensions. Reset scissor enables even if same size. Always set drawing height. 2020-12-10 16:55:00 +00:00
Richard Davey
21b968363c Don't resize if already same size. Better binding handling. 2020-12-10 16:53:48 +00:00
Richard Davey
2be3b7aa59 Fixed typos 2020-12-10 16:53:26 +00:00
Richard Davey
73a0c9d2ce Remove unused code 2020-12-09 18:04:53 +00:00
Richard Davey
e03c514b03 Fixed WebGL erase mode 2020-12-09 15:55:11 +00:00
Richard Davey
197aa9df0f Update WebGLRenderer.js 2020-12-09 15:55:02 +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
827851d02c Update RenderTexture.js 2020-12-08 17:54:37 +00:00
Richard Davey
c7a886103a Update CHANGELOG-v3.50.md 2020-12-08 17:38:46 +00:00
Richard Davey
0c4eec0fd9 Now using new Render Target approach (texture blend still need to be added) 2020-12-08 17:38:42 +00:00
Richard Davey
54e306fe3e Added setProjectionMatrix and all of the new pipeline events 2020-12-08 17:38:19 +00:00
Richard Davey
5f279bf4a4 Added RenderTarget, begingCapture, endCapture, resetScissor and resetViewport 2020-12-08 17:37:59 +00:00
Richard Davey
1b989c81cb Update CHANGELOG-v3.50.md 2020-12-08 16:59:25 +00:00
Richard Davey
f93c3ea05f Added Pipeline events 2020-12-08 16:15:46 +00:00
Richard Davey
f18d615b40 Update SpriteWebGLRenderer.js 2020-12-08 16:15:16 +00:00
Richard Davey
c2bce98532 Added copyFrameRect method 2020-12-08 16:15:06 +00:00
Richard Davey
cb71fe35cd Fixed name #5432 2020-12-07 17:10:25 +00:00
Richard Davey
3154bf2e6f Update Container.js 2020-12-07 13:11:49 +00:00
Richard Davey
79d252589f Update Rope.js 2020-12-07 13:09:45 +00:00