Commit graph

218 commits

Author SHA1 Message Date
Richard Davey
64fdbc3040 Graphics.alpha was being ignored in the WebGL renderer and is now applied properly to strokes and fills. Fix #3426 2018-03-20 00:27:39 +00:00
orblazer
8fdedabaeb Add callbacks on Renderer 2018-03-19 21:41:24 +01:00
Richard Davey
4de9719fbe Fixed jsdoc types 2018-03-19 17:05:29 +00:00
Richard Davey
620bcc6ae5 jsdoc fixes and additions 2018-03-19 13:45:00 +00:00
orblazer
6a4dd8db8f Update JSDoc on Renderer and Scene 2018-03-19 01:59:59 +01:00
Richard Davey
9832befeea Fixed camera y 2018-03-16 15:47:14 +00:00
Richard Davey
fbec8f978c You can now specify all of the renderer config options within a render object in the config. If no render object is found, it will scan the config object directly for the properties. 2018-03-16 13:22:52 +00:00
Richard Davey
dd4e00007f Added antialias config value 2018-03-16 00:52:21 +00:00
Richard Davey
0c1c16deba Used new config values, fixed eslint formatting and floored dimensions 2018-03-15 21:15:39 +00:00
Richard Davey
edf1aa7cc1 The onContextRestored callback won't be defined any more unless the WebGL Renderer is in use in the following objects: BitmapMask, Static Tilemap, TileSprite and Text. This should allow those objects to now work in HEADLESS mode. Fix #3368 2018-03-12 13:37:13 +00:00
Richard Davey
063d30602e The ForwardDiffuseLightPipeline now uses sys.lights instead of the Scene variable to avoid errors due to injection removal. 2018-03-12 12:55:09 +00:00
samme
d7780aff64 Fix error when no Light Manager exists 2018-03-11 19:22:42 -07:00
Richard Davey
c2f25b3742
Merge pull request #3240 from Twilrom/arc-fix
Update WebGL Graphics.arc to work more like on Canvas
2018-03-05 21:54:46 +00:00
Richard Davey
bfabe35cdf eslint fixes 2018-03-05 21:49:08 +00:00
Felipe Alfonso
ddc85cfdc7 Added support for tint and alpha to RenderTexture 2018-03-05 16:57:41 -03:00
Felipe Alfonso
c1d482b593 Added jsdoc comments to new methods and properties on WebGLPipeline and WebGLRenderer 2018-03-05 12:28:59 -03:00
Felipe Alfonso
38dc3bbd82 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-05 11:29:56 -03:00
Felipe Alfonso
98893e1bba Modified WebGLPipeline and it's child classes to make them easier to generate custom Pipelines. Added functions to WebGLPipeline to modify uniforms. Exposed Renderer namespace for usage outside the engine 2018-03-05 11:29:48 -03:00
Richard Davey
4d16b0c00a eslint fixes 2018-03-05 01:45:28 +00:00
Richard Davey
ae1c91cf6a eslint fixes 2018-03-05 01:40:11 +00:00
Richard Davey
2c10ac328c Added roundPixels support for the Canvas renderer 2018-02-28 22:32:59 +00:00
Felipe Alfonso
14399d6910 TileSprite can now set frame of the pattern texture 2018-02-28 17:04:57 -03:00
Felipe Alfonso
6a114fc07a Added roundPixels to the texture pipeline 2018-02-28 15:08:08 -03:00
Felipe Alfonso
9dbb4db4c6 Added inverted alpha to bitmap mask 2018-02-23 14:09:27 -03:00
Felipe Alfonso
ef8e92dc01 RenderTexture base webgl implementation 2018-02-23 00:44:22 -03:00
Felipe Alfonso
57333ea492 Fixed issue with null texture on particle emitter batch generation 2018-02-22 20:36:25 -03:00
Felipe Alfonso
a218cd5f4a Fixed issue with vertex buffer creation on Static Tilemap Layer 2018-02-22 01:07:43 -03:00
Richard Davey
4b96ed4d6e jsdoc fixes 2018-02-22 01:17:54 +00:00
Richard Davey
73da8608e0 Fixed lint errors 2018-02-19 23:14:57 +00:00
Felipe Alfonso
4b9b4c91a3 Dynamic BitmapText's origin is used on rendering the text 2018-02-19 18:20:30 -03:00
Felipe Alfonso
41bcaba43a Dynamic BitmapText now uses origin component to render the text. 2018-02-19 18:16:57 -03:00
Felipe Alfonso
abfe7536e9 Removed the read of constant values from the WebGLRenderingContext object. Now they are read from an instance of webgl context. 2018-02-19 17:49:17 -03:00
Felipe Alfonso
50c79c14af Removed double rounding to pixel on rendering routines.
Fixed rounding pixel issue when camera is shaking
2018-02-19 17:38:40 -03:00
Felipe Alfonso
cdc4359fd7 Fixed issue with tint being set on the incorrect vertex 2018-02-19 17:06:08 -03:00
Richard Davey
3c65121cb3 eslint fixes 2018-02-16 19:17:49 +00:00
Richard Davey
d23688c3e4 Added eslint fixes and overrides 2018-02-16 18:44:07 +00:00
Richard Davey
86f00eeb52 eslint fixes 2018-02-16 18:17:51 +00:00
Richard Davey
e1554c34d6 eslint fixes 2018-02-16 18:07:49 +00:00
Twilrom
d443ff380e Make WebGL Graphics closePath work the same as in Canvas. 2018-02-16 16:28:35 +01:00
Twilrom
859cc27e2e Fix beginPath in WebGL Graphics 2018-02-16 15:38:21 +01:00
Twilrom
0c0b272ccc Update WebGL Graphics.arc to work more like on Canvas 2018-02-16 15:38:21 +01:00
Richard Davey
4e6df03512 Updated semver 2018-02-15 14:31:15 +00:00
Felipe Alfonso
e2bebd3ddd jsdoc property and method updates 2018-02-14 16:52:37 -03:00
Felipe Alfonso
74abb96211 Added alpha and tint to static tilemap layer. Fixed BitmapMask binding resources issue. 2018-02-14 16:45:22 -03:00
Felipe Alfonso
92182bed90 Fixed issue with Blitter renderer where it overwrote previous vertex data 2018-02-14 13:43:35 -03:00
Felipe Alfonso
edf15986ff BitmapMask si working properly with the vertex update batching. 2018-02-14 13:20:56 -03:00
Felipe Alfonso
844e72a7e1 Buffer resource update batching implemented into TextureTintPipeline 2018-02-13 23:46:34 -03:00
Yat Hin Wong
3af1d57a95 Changed let to var 2018-02-13 17:03:28 +01:00
Richard Davey
8f4a1012fd Updated jsdocs. 2018-02-13 01:39:22 +00:00
Felipe Alfonso
2aa94c28eb WebGL types added to jsdoc 2018-02-12 21:12:17 -03:00