Commit graph

12775 commits

Author SHA1 Message Date
Richard Davey
34fe7a8c50 Better default checking 2019-05-01 00:05:37 +01:00
Richard Davey
0ebdf7073c Optional texture key array 2019-05-01 00:05:22 +01:00
Richard Davey
b1de52009d Now extracts uniforms 2019-05-01 00:05:13 +01:00
Richard Davey
8484f33c18 Handle invalid shader keys gracefully 2019-04-30 19:56:03 +01:00
Richard Davey
272fbfcd7a Improved jsdocs, finished splitting up render process 2019-04-30 19:43:50 +01:00
Richard Davey
38d8ae7d68 Uniforms properly applied 2019-04-30 19:11:29 +01:00
Richard Davey
e5d944b977 Updating Shader Game Object to use new Shader class 2019-04-30 17:11:55 +01:00
Richard Davey
ab7dbf6c93 New Shader class 2019-04-30 17:11:42 +01:00
Richard Davey
e0a9980fda Updated docs 2019-04-30 17:11:26 +01:00
Richard Davey
0c84853524 Expanding GLSL File Loader 2019-04-30 17:11:18 +01:00
J.C
b6047df1b5
flag which version has this method 2019-04-30 23:29:28 +08:00
J.C
8c3de0897e expose ParseXMLBitmapFont for combined XML font file 2019-04-30 19:31:47 +08:00
Richard Davey
3c655bff3e Improved jsdocs 2019-04-30 11:08:34 +01:00
Richard Davey
14ae8ecf19 Added NOOP 2019-04-29 17:14:05 +01:00
Richard Davey
84e898fd90 Fixed nested bitmap mask issue 2019-04-29 14:45:54 +01:00
Richard Davey
80a0bf3f1a Re-apply stencil after a bitmap mask 2019-04-29 14:29:13 +01:00
Richard Davey
3efcd1ca49 New cam mask object 2019-04-29 14:28:58 +01:00
Richard Davey
ac1cc1762d Use new cam mask object 2019-04-29 14:28:45 +01:00
Richard Davey
6f639ddec2 Preparing to store level state 2019-04-29 13:21:23 +01:00
Richard Davey
28b1a170ab Fixed null mask issue 2019-04-29 13:04:34 +01:00
Richard Davey
902d04d55e Move to functions so we can call from outside the class 2019-04-26 19:14:06 +01:00
Richard Davey
93dabaa34e Store and restore previous framebuffer 2019-04-26 19:13:55 +01:00
Richard Davey
e07248a403 Use proper elapsed time for the shader 2019-04-26 19:13:45 +01:00
Richard Davey
70b5b01db2 Restore previous framebuffer 2019-04-26 19:13:32 +01:00
Richard Davey
cf878ca553 Better stencil mask checking 2019-04-26 19:13:24 +01:00
Richard Davey
813429d8dc Added getDuration and getDurationMS 2019-04-26 19:13:12 +01:00
Richard Davey
95eb4fc03d Setting pixelPerfect when input enabling a Container would cause it to crash, because Container's don't have a texture to check. It will now throw a run-time warning and skip the Container for input. You should use a custom input callback instead. Fix #4492 2019-04-26 10:56:06 +01:00
Richard Davey
183ce1b96c BMP fix 2019-04-26 02:30:24 +01:00
Richard Davey
6e70f0e19c Shaders now work with camera masks and can have their own geometry masks 2019-04-26 01:53:34 +01:00
Richard Davey
8620e2303d Added setPointer 2019-04-26 00:56:53 +01:00
Richard Davey
55410038eb Updated factory 2019-04-25 17:48:06 +01:00
Richard Davey
4d16f21c20 re-init uniforms if setShader 2019-04-25 17:13:31 +01:00
Richard Davey
2c4d0d9fd3 Uniforms are now synced properly and attribute is hard coded 2019-04-25 16:57:12 +01:00
Richard Davey
a26a420f23 Added transformOnly flag 2019-04-25 15:44:19 +01:00
Richard Davey
d849031195 Y oh Y :) 2019-04-25 15:08:32 +01:00
Richard Davey
a0ef6e9d1b Added default shader 2019-04-25 15:07:46 +01:00
Richard Davey
27d6bd544f Drop the modelMatrix, it's not needed for this GO. Also only change vertexView elements that need changing. 2019-04-25 14:21:33 +01:00
Richard Davey
5449f7b51d Skip blendMode and add setShader method 2019-04-25 14:03:50 +01:00
Richard Davey
9356744399 argument caps 2019-04-25 12:14:04 +01:00
Richard Davey
2ff76eb4b5 Removed un-needed Quad Pipeline and shaders 2019-04-25 12:13:09 +01:00
Richard Davey
f37a61de27 Shader now using viewLoad2D instead and accounting for origin 2019-04-25 12:12:49 +01:00
Richard Davey
ba8d1adbbb Removing use of Shader pipeline 2019-04-25 11:30:23 +01:00
Richard Davey
e05ff03ed0 Added Systems.renderer reference 2019-04-25 11:30:10 +01:00
Richard Davey
86896bd581 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-04-25 03:16:51 +01:00
Richard Davey
72af4a21d1 Default shader 2019-04-25 03:16:46 +01:00
Richard Davey
9b4309b38c Added QuadShader Pipeline to the renderer 2019-04-25 03:16:39 +01:00
Richard Davey
2727408e7c Don't disable the vertex attribute if the location is invalid 2019-04-25 03:16:25 +01:00
Richard Davey
e0c22c5534 Added QuadShader Pipeline 2019-04-25 03:16:03 +01:00
Richard Davey
7d74425491 Added new Shader Game Object 2019-04-25 03:15:51 +01:00
Richard Davey
87c3215216
Merge pull request #4487 from florianvazelle/master
Fix issue #4483
2019-04-24 22:03:57 +01:00