You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,8 @@ All of the internal functions, such as `batchQuad` and `batchSprite` have been u
47
47
*`WebGLPipeline.boot` will now check all of the attributes and store the pointer location within the attribute entry.
48
48
*`WebGLPipeline.bind` no longer looks-up and enables every attribute, every frame. Instead it uses the cached pointer location stored in the attribute entry, cutting down on redundant WebGL operations.
49
49
*`WebGLRenderer.isNewNormalMap` is a new method that returns a boolean if the given parameters are not currently used.
50
+
*`WebGLPipeline.forceZero` is a new property that informs Game Objects if the pipeline requires a zero bound texture unit.
51
+
*`WebGLPipeline.setAttribPointers` is a new method that will set the vertex attribute pointers for the pipeline.
50
52
51
53
### Forward Diffuse Light Pipeline API Changes
52
54
@@ -61,6 +63,7 @@ This Light2D pipeline, which is responsible for rendering lights under WebGL, ha
61
63
* Particle Emitter Game Object now supports rendering in Light2d.
62
64
* All Shape Game Objects (Rectangle, IsoBox, Star, Polygon, etc) now support rendering in Light2d.
63
65
* The Text Game Object now supports rendering in Light2d, no matter which font, stroke or style it is using.
66
+
* Both Static and Dynamic Tilemap Layer Game Objects now support the Light2d pipeline, with or without normal maps.
64
67
* The pipeline will no longer look-up and set all of the light uniforms unless the `Light` is dirty.
65
68
* The pipeline will no longer reset all of the lights unless the quantity of lights has changed.
66
69
* The `ForwardDiffuseLightPipeline.defaultNormalMap` property has changed, it's now an object with a `glTexture` property that maps to the pipelines default normal map.
@@ -115,6 +118,7 @@ If you used any of them in your code, please update to the new function names be
115
118
116
119
*`Config.batchSize` has been increased from 2000 to 4096.
117
120
* Removed the Deferred Diffuse fragment and vertex shaders from the project, as they're not used.
121
+
*`StaticTilemapLayer.upload` will now set the vertex attributes and buffer the data, and handles internal checks more efficiently.
0 commit comments