Skip to content

Commit 0e42b4a

Browse files
committed
Update CHANGELOG-v3.50.md
1 parent f7fe9f0 commit 0e42b4a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG-v3.50.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
### WebGL Pipeline Updates
44

5-
If you use a custom WebGL Pipeline in your game then you must update your code in order to use Phaser 3.50.
5+
If you use a custom WebGL Pipeline in your game, you must update your code to use Phaser 3.50.
66

77
Due to the huge amount of work that has taken place in this area, all of the pipelines have been renamed. If you extend any of these pipelines or use them in your game code (referenced by name), then please update accordingly. The name changes are:
88

99
* `TextureTintPipeline` is now called the `MultiPipeline`.
1010
* `TextureTintStripPipeline` is now called the `RopePipeline`.
1111
* `ForwardDiffuseLightPipeline` is now called the `LightPipeline`.
1212

13-
There is also the new `GraphicsPipeline`. Previously, the `TextureTintPipeline` was responsible for rendering all Sprites, Graphics and Shape objects. Now, it only renders Sprites. All Graphics and Shapes are handled by the new `GraphicsPipeline` which uses its own shaders. See below for details about this change.
13+
There is also the new `GraphicsPipeline`. Previously, the `TextureTintPipeline` was responsible for rendering all Sprites, Graphics, and Shape objects. Now, it only renders Sprites. All Graphics and Shapes are handled by the new `GraphicsPipeline`, which uses its own shaders. See below for details about this change.
1414

1515
To match the new pipeline names, the shader source code has also been renamed.
1616

@@ -20,7 +20,7 @@ To match the new pipeline names, the shader source code has also been renamed.
2020

2121
Other pipeline changes are as follows:
2222

23-
* None of the shaders or pipelines use the `uViewMatrix` and `uModelMatrix` uniforms any longer. These were always just plain identity matrices, so there is no point spending CPU and GPU time to set them as uniforms, or use them in the shaders. Should you need these uniforms, you can add them to your own custom pipelines.
23+
* None of the shaders or pipelines use the `uViewMatrix` and `uModelMatrix` uniforms any longer. These were always just plain identity matrices, so there is no point spending CPU and GPU time to set them as uniforms or use them in the shaders. Should you need these uniforms, you can add them to your own custom pipelines.
2424
* `Types.Renderer.WebGL.WebGLPipelineConfig` is a new TypeDef that helps you easily configure your own Custom Pipeline when using TypeScript and also provides better JSDocs.
2525
* `Types.Renderer.WebGL.WebGLPipelineAttributesConfig` is a new TypeDef that helps you easily configure the attributes for your own Custom Pipelines when using TypeScript and also provides better JSDocs.
2626
* All pipelines will now work out the `renderer` property automatically, so it's no longer required in the config.
@@ -31,7 +31,7 @@ Other pipeline changes are as follows:
3131
* All pipelines will now extract the `vertexData` property from the config, allowing you to set it externally.
3232
* All pipelines will now extract the `attributes` property from the config, allowing you to set it externally.
3333
* All pipelines will now extract the `topology` property from the config, allowing you to set it externally.
34-
* The `WebGLPipeline.shouldFlush` method now accepts an optional parameter `amount`. If given, it will return `true` if when the amount is added to the vertex count it will exceed the vertex capacity. The Multi Pipeline has been updated to now use this method instead of performing the comparison multiple times itself.
34+
* The `WebGLPipeline.shouldFlush` method now accepts an optional parameter `amount`. If given, it will return `true` if the amount to be added to the vertex count exceeds the vertex capacity. The Multi Pipeline has been updated to now use this method instead of performing the comparison multiple times itself.
3535
* The `RopePipeline` now extends `MultiPipeline` and just changes the topology, vastly reducing the filesize.
3636
* The `WebGLPipeline.flushLocked` property has been removed. A pipeline can never flush in the middle of a flush anyway, so it was just wasting CPU cycles being set.
3737
* `WebGLPipeline.manager` is a new property that is a reference to the WebGL Pipeline Manager.

0 commit comments

Comments
 (0)