Commit graph

148 commits

Author SHA1 Message Date
Felipe Alfonso
25977cfc4d Dynamic tilemap webgl rendering 2017-06-21 22:19:03 -04:00
Felipe Alfonso
c3eb8bff3b StaticTilemap position + scrollFactor 2017-06-09 11:43:09 -04:00
photonstorm
22875376b7 Moved scissor values to object so they can be read from batches.
Almost got Dynamic Text working with scissor (doesn't restore correctly on exit).
2017-06-08 17:15:02 +01:00
photonstorm
a836c894e6 Canvas Renderer now respects and applies ScaleMode. 2017-06-08 15:04:49 +01:00
Richard Davey
2cc3a391c4 WebGL createTexture respects config.pixelArt setting 2017-06-08 00:13:34 +01:00
Felipe Alfonso
dc035ddaab Tilemap Rendering 2017-06-01 17:05:50 -04:00
Felipe Alfonso
d19d1f6b8d Tilemap Static Mesh Construction 2017-05-31 13:40:51 -04:00
Felipe Alfonso
73ff899ce2 vertex color and alpha properties 2017-05-22 15:29:27 -04:00
Felipe Alfonso
30ea09f0b0 Fixed issue with setting wrapping mode on textures 2017-05-22 10:44:05 -04:00
Felipe Alfonso
d216793595 Texture Filtering and Repeat property 2017-05-19 21:16:45 -04:00
Felipe Alfonso
22bc09dfd2 Fixed index offset 2017-05-18 16:52:45 -04:00
Felipe Alfonso
7b0370c57b Added index offset to allow mesh batching 2017-05-18 16:44:00 -04:00
Felipe Alfonso
49bcb5829b Added mesh rendering detection 2017-05-18 16:23:59 -04:00
Felipe Alfonso
399e12b2ca Indexed Mesh Rendering 2017-05-18 15:57:05 -04:00
Felipe Alfonso
198fc359f7 Mesh WebGL Renderer 2017-05-17 12:12:17 -04:00
Felipe Alfonso
d71d7d50bc Fixed a couple of bugs on Graphics renderer and added should Flush to all webgl renderers 2017-05-17 11:09:06 -04:00
Felipe Alfonso
7477eb5cf9 Snapshot implementation 2017-05-16 15:15:01 -04:00
Felipe Alfonso
70802cedcb upload to GPU graphics 2017-05-10 23:52:32 -03:00
Felipe Alfonso
f84f4e626c Graphics canvas texture generation 2017-05-10 21:24:57 -03:00
Felipe Alfonso
6511b4b0d5 Internal Transform Stack for Graphics 2017-05-08 17:13:48 -03:00
Felipe Alfonso
da9a6de007 Canvas TileSprite 2017-05-03 21:14:14 -03:00
Felipe Alfonso
12d3771c0a Tile Sprite rendering on WebGL 2017-05-02 17:57:21 -03:00
Felipe Alfonso
e6fefdab24 Using canvas buffer for generating tile texture 2017-04-28 15:10:32 -03:00
Felipe Alfonso
4073db3551 TileSprite base and renderer 2017-04-25 19:09:13 -03:00
Felipe Alfonso
3c476ae26b Fixed EffectRenderer 2017-04-20 21:25:31 -03:00
Felipe Alfonso
1742ec0f12 RenderPass Update 2017-04-20 15:06:57 -03:00
Felipe Alfonso
fd4d25a3b6 RenderPass update 2017-04-18 19:15:10 -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
e83db4445f Fixed issue with attribute order on osx and ios 2017-04-07 01:23:44 -03:00
Felipe Alfonso
511781bdb0 More granular errors and warnings 2017-04-07 00:42:06 -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
0fedb3b390 Fixed RGB and alpa per point on a path 2017-03-29 20:44:07 -03:00
Felipe Alfonso
a1b6978b8e Sprite Batch now handles alpha 2017-03-28 11:20:53 -03:00
Felipe Alfonso
58e4912633 Moved uploadCanvasToGPU to WebGLRenderer 2017-03-21 17:45:57 -03:00
Felipe Alfonso
0cdb150357 Text rendering via canvas/texture upload 2017-03-21 17:08:43 -03:00
Felipe Alfonso
29ec16fd33 Flip component added to Bob, Image, Sprite and Text 2017-03-20 20:37:17 -03:00
Richard Davey
22154d905d Updated originX/Y to use a normalized value between 0 and 1. Added the properties displayOriginX and displayOriginY (read only) to hold the calculated pixel values. Updated renderers to use these values. 2017-03-15 23:08:59 +00:00
Felipe Alfonso
d0de931c93 per point coloring for line rendering 2017-03-15 16:23:10 -03:00
Felipe Alfonso
fd71283e1d fixed issue with canvas draw image and camera scroll 2017-03-15 14:25:52 -03:00
Felipe Alfonso
400b18b5ce Fixed bug on ShapeBatch with corner wrapping to the first element. Also added lineWidthTo and moveWidthTo allowing easy creation of trails 2017-03-14 19:13:31 -03:00
Felipe Alfonso
b8f0b3357d Added fillTriangle and strokeTriangle to Graphics Game Object 2017-03-07 21:51:09 -03:00
Felipe Alfonso
9ed1216ad6 line rendering 2017-03-07 01:29:51 -03:00
Felipe Alfonso
d6f07973b2 Fixed transform issue when dealing with camera transforms 2017-03-06 15:13:39 -03:00