Richard Davey
|
ff65e69cd1
|
Changed copyright date to 2020
|
2020-01-15 12:07:09 +00:00 |
|
Kolja Kutschera
|
c893ca6186
|
fix light2d using tileset from dynamictilemaplayer (#4167,#4079)
|
2019-10-26 00:56:43 +02:00 |
|
Gauthier Billot
|
7ffeb4785e
|
Added currentNormalMapRotation and updated setNormalMapRotation
|
2019-10-06 20:31:29 +02:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
4f6f6ee72f
|
Lots of jsdoc and type fixes
|
2019-01-31 12:19:01 +00:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +00:00 |
|
Richard Davey
|
bbe95d96d9
|
Added jsdocs for #4137
|
2018-12-12 11:58:58 +00:00 |
|
Richard Davey
|
d823c66597
|
Merge pull request #4137 from sercant/master
Fix rotating normal map bug (issue #3870)
|
2018-12-12 11:52:27 +00:00 |
|
Richard Davey
|
4b27b37a0c
|
Added texture and unit arguments to batchQuad and batchTri , fixing the y2k bug.
|
2018-12-12 11:08:52 +00:00 |
|
Richard Davey
|
6f8759c186
|
Whenever Camera.roundPixels was enabled it would use a bitwise operation to truncate the float (x |= 0 ) - this has been replaced across all files that used it, with a call to Math.round instead. This gives far better results when zooming cameras both in and out of a Scene, stopping thin gaps appearing between closely packed Game Objects.
|
2018-11-30 10:27:25 +00:00 |
|
Sercan Turkmen
|
03ffe7842f
|
Fix rotating normal map bug (issue #3870)
|
2018-10-31 02:17:11 +02:00 |
|
Richard Davey
|
4c4421c47f
|
Docjam merge
|
2018-10-19 12:32:43 +01:00 |
|
Richard Davey
|
4b1c762296
|
Updated @memberOf to @memberof
|
2018-10-10 10:49:13 +01:00 |
|
Richard Davey
|
143957d24a
|
You can now set the maxLights value in the Game Config, which controls the total number of lights the Light2D shader can render in a single pass. The default is 10. Be careful about pushing this too far. More lights = less performance. Close #4081
|
2018-10-02 11:09:58 +01:00 |
|
Richard Davey
|
c704dc450a
|
Fixed jsdoc definitions
|
2018-09-25 11:36:36 +01:00 |
|
Richard Davey
|
1d4b2ed01a
|
Removed un-needed methods and fixed TileSprite and Tilemap Lights. Fix #3949
|
2018-08-23 17:30:27 +01:00 |
|
Richard Davey
|
947d301f42
|
Removed the unit batch from TTP and put it into FDLP
|
2018-07-26 15:31:44 +01:00 |
|
Richard Davey
|
42c3fc5f6b
|
Better normal map handling
|
2018-07-13 11:14:22 +01:00 |
|
Richard Davey
|
a0bf5b6ad2
|
Removed all the batch functions and consolidated into a single function and callback
|
2018-07-11 16:55:18 +01:00 |
|
Richard Davey
|
efb5eb09c5
|
Starting refactor
|
2018-07-11 16:24:58 +01:00 |
|
Richard Davey
|
f45ab89f8d
|
The ForwardDiffuseLightPipeline, used by the Lights system, now sets a flag if the Scene doesn't contain any lights. All of the Game Objects now check this flag and don't even bother adding themselves to the batch if there are no lights in the Scene, as they'd never render anyway. This also avoids the ghost-image problem if you swap Scenes to a new Scene with the Light Manager enabled, but no actual lights defined. Fix #3707
|
2018-05-31 16:57:30 +01:00 |
|
Richard Davey
|
57918bb50f
|
Removed the need for raw-loader in webpack. Shaders now build to standard JS files. Removed fs requirement.
|
2018-05-08 23:04:57 +01:00 |
|
Richard Davey
|
97dd683ea1
|
The Forward Diffuse Light Pipeline was hard coded to assume the normal map would be stored in the source index zero. It now correctly obtains the normal map from the frame source index, which means all Game Objects that used frames from multi-atlas textures will now work with lights properly.
|
2018-05-04 14:31:19 +01:00 |
|
Felipe Alfonso
|
f64b4b9b20
|
added jsdoc comments to ForwardDiffuseLightPipeline
|
2018-04-24 16:52:57 -03:00 |
|
Richard Davey
|
ef24982301
|
Pending dos
|
2018-04-24 15:34:55 +01:00 |
|
Richard Davey
|
741d1f5793
|
Doc pending tags
|
2018-04-24 15:32:08 +01:00 |
|
Richard Davey
|
176b085402
|
jsdoc fix
|
2018-04-19 13:28:10 +01:00 |
|
Felipe Alfonso
|
aef538d61b
|
Added parent transform matrix to Light2D pipieline to allow support for containers
|
2018-04-18 18:40:27 -03:00 |
|
Richard Davey
|
55965c748f
|
jsdoc fixes
|
2018-04-18 12:13:49 +01:00 |
|
Richard Davey
|
4f6239dadb
|
jsdoc and eslint fixes
|
2018-04-05 09:02:36 +01: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 |
|
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
|
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
|
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 |
|
Felipe Alfonso
|
844e72a7e1
|
Buffer resource update batching implemented into TextureTintPipeline
|
2018-02-13 23:46:34 -03:00 |
|
Felipe Alfonso
|
2aa94c28eb
|
WebGL types added to jsdoc
|
2018-02-12 21:12:17 -03:00 |
|
Richard Davey
|
d1f5f8a82b
|
Added jsdocs
|
2018-02-12 16:01:21 +00:00 |
|
Richard Davey
|
97bb52faec
|
Added jsdocs
|
2018-02-09 19:19:21 +00:00 |
|
Felipe Alfonso
|
da8c7c0b3e
|
WebGL config data is now stored on WebGLRenderer
|
2018-02-06 17:37:13 -03:00 |
|
Felipe Alfonso
|
0648161ca5
|
Added simple light culling
|
2018-01-30 22:11:51 -03:00 |
|
Felipe Alfonso
|
d9b04ef2e9
|
Light2D Plugin added to scene
|
2018-01-30 19:46:43 -03:00 |
|
Felipe Alfonso
|
de4b308fbd
|
Light2D update
|
2018-01-30 00:38:31 -03:00 |
|
Felipe Alfonso
|
71a6360a7b
|
Pipeline components added
|
2018-01-29 18:46:48 -03:00 |
|