Skip to content

Commit ea8102f

Browse files
committed
Update CHANGELOG.md
1 parent 10c19bd commit ea8102f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ All of the internal functions, such as `batchQuad` and `batchSprite` have been u
4747
* `WebGLPipeline.boot` will now check all of the attributes and store the pointer location within the attribute entry.
4848
* `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.
4949
* `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.
5052

5153
### Forward Diffuse Light Pipeline API Changes
5254

@@ -61,6 +63,7 @@ This Light2D pipeline, which is responsible for rendering lights under WebGL, ha
6163
* Particle Emitter Game Object now supports rendering in Light2d.
6264
* All Shape Game Objects (Rectangle, IsoBox, Star, Polygon, etc) now support rendering in Light2d.
6365
* 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.
6467
* The pipeline will no longer look-up and set all of the light uniforms unless the `Light` is dirty.
6568
* The pipeline will no longer reset all of the lights unless the quantity of lights has changed.
6669
* 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
115118

116119
* `Config.batchSize` has been increased from 2000 to 4096.
117120
* 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.
118122

119123
### Bug Fixes
120124

0 commit comments

Comments
 (0)