Commit graph

46 commits

Author SHA1 Message Date
Felipe Alfonso
1742ec0f12 RenderPass Update 2017-04-20 15:06:57 -03:00
Felipe Alfonso
bcbec418b1 Fixed Graphics and Blitter issue with renderTarget 2017-04-13 12:45:01 -03:00
Felipe Alfonso
581fdb50ee RenderTarget added to renderable game objects 2017-04-11 10:15:38 -03:00
Felipe Alfonso
d08e23f4f4 Reset renderTarget to null when rendering camera effects 2017-04-10 16:15:18 -03:00
Felipe Alfonso
0370ebf15e Fixed clearing render target issue 2017-04-07 02:06:55 -03:00
Felipe Alfonso
b1b184aed4 render target dimensions don't affect viewport 2017-04-07 01:34:35 -03:00
Felipe Alfonso
8c479a56c0 Effect Layer 2017-04-06 22:49:15 -03:00
Felipe Alfonso
63a614ef74 fixed issues with Text rendering 2017-04-06 14:40:43 -03:00
Felipe Alfonso
aa8f0820c0 Resource clean up and adapted batches to allow shader swapping 2017-04-05 19:01:44 -03:00
Felipe Alfonso
85a3830f1a Shader resource creation added to webgl renderer 2017-04-05 14:59:59 -03:00
Felipe Alfonso
58e4912633 Moved uploadCanvasToGPU to WebGLRenderer 2017-03-21 17:45:57 -03:00
Felipe Alfonso
d6f07973b2 Fixed transform issue when dealing with camera transforms 2017-03-06 15:13:39 -03:00
Felipe Alfonso
1f8702e323 Shape batch rendering base 2017-02-27 17:41:52 -03:00
Felipe Alfonso
4deb7ea81c Removed old Transform, renamed Transform2DMatrix to TransformMatrix and updated renderers to work with the new game object. Also a small optimization for TransormMatrix for Identity+translate+rotation+scale transformation 2017-02-22 13:44:14 -03:00
Felipe Alfonso
d309be3b2e Canvas rendering working with the new system. 2017-02-21 17:05:18 -03:00
Felipe Alfonso
efdc4898f3 Removed global scene graph. New system works with camera system 2017-02-20 21:38:22 -03:00
Felipe Alfonso
36d627d165 Cleanup WebGLRenderer, batches and transform 2017-02-13 12:27:32 -03:00
Richard Davey
69bd717a5c Removed old Transform.
Changed copyblock.
2017-02-13 12:01:19 +00:00
Richard Davey
b3db404bb1 BG Color added to webgl renderer. 2017-02-11 20:25:12 +00:00
Felipe Alfonso
34713ab16b Camera effects 2017-02-09 21:48:32 -03:00
Felipe Alfonso
6f19416129 camera scrolling 2017-02-08 12:52:51 -03:00
Felipe Alfonso
3e3eb60801 Multiple camera clipping 2017-02-07 21:08:09 -03:00
Felipe Alfonso
e0f0b3541b Canvas camera scissor 2017-02-07 16:30:50 -03:00
Felipe Alfonso
002facb59a Clipping added to cameras on webgl 2017-02-07 13:12:20 -03:00
Felipe Alfonso
f488722212 Removed unnecessary localMatrix on transform 2017-01-31 21:35:53 -03:00
Felipe Alfonso
3f0509bead fixed V8 deopt on Transform's updateRoot 2017-01-31 20:06:13 -03:00
Felipe Alfonso
43629a5e78 fixed type on WebGLRenderer render function 2017-01-31 18:49:14 -03:00
Felipe Alfonso
758369593f Inlined spriteBatch.add 2017-01-31 18:40:29 -03:00
Felipe Alfonso
6566a387b5 Small optimization to transform matrix update 2017-01-31 17:24:51 -03:00
photonstorm
6ee499132c Huge refactor to sort out the game loop flow. 2017-01-25 17:10:19 +00:00
photonstorm
5c495bbdf8 RAF now calls StateManager.step directly.
Game no longer has RNG property.
2017-01-25 12:02:18 +00:00
Felipe Alfonso
557c218a77 Fixed normal blending mode 2017-01-24 12:21:49 -03:00
Felipe Alfonso
99d8db0849 Fixed alpha setting on BlitterRenderer 2017-01-24 10:15:25 -03:00
Felipe Alfonso
739561f1fb Fix "normal" blend mode 2017-01-23 19:12:46 -03:00
Felipe Alfonso
7decd4afcb Blend Mode added to WebGLRenderer 2017-01-23 18:42:47 -03:00
Felipe Alfonso
4155265165 Sprite batch with 32 bit indices for bigger batches 2017-01-20 19:02:12 -03:00
Felipe Alfonso
682cb79a17 Fix when buffers are full. Now they flush 2017-01-20 16:43:36 -03:00
photonstorm
657f8baee9 Fixed gl error. 2017-01-20 18:53:53 +00:00
Felipe Alfonso
c37c69e312 fix on settexture2D 2017-01-20 15:51:00 -03:00
Felipe Alfonso
c40e94f15b Manager is now in charge of swapping texture if needed 2017-01-20 15:13:24 -03:00
Richard Davey
4ac4d406b2 Hooked up SpriteBatch. 2017-01-19 23:20:36 +00:00
Felipe Alfonso
f342fac027 Sprite Batch implementation 2017-01-19 19:43:41 -03:00
Felipe Alfonso
9965ab674d Update BlitterBatch 2017-01-19 14:53:20 -03:00
photonstorm
ddfeed8784 Cleaned down, ready for new WebGL Renderer. 2017-01-16 15:53:34 +00:00
Richard Davey
cee7498180 Fixes to get the renderer working. 2016-12-07 03:42:41 +00:00
Richard Davey
82d1ceeba4 Adding in WebGL Renderer. 2016-12-07 02:28:22 +00:00