Skip to content

Commit aabd6d1

Browse files
committed
Update CHANGELOG.md
1 parent 1e9ef31 commit aabd6d1

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,23 @@
33
## Version 3.19.0 - Naofumi - in development
44

55

6+
### New Features
7+
8+
* `Shader.setRenderToTexture` is a new method that will redirect the Shader to render to its own framebuffer / WebGLTexture instead of to the display list. This allows you to use the output of the shader as an input for another shader, by mapping a sampler2D uniform to it. It also allows you to save the Shader to the Texture Manager, allowing you to use it as a texture for any other texture based Game Object such as a Sprite.
9+
* `Shader.renderToTexture` is a new property flag that is set if you set the Shader to render to a texture.
10+
* `Shader.framebuffer` is a new property that contains a WebGLFramebuffer reference which is set if you set the Shader to render to a texture.
11+
* `Shader.glTexture` is a new property that contains a WebGLTexture reference which is set if you set the Shader to render to a texture.
12+
* `Shader.texture` is a new property that contains a Phaser Texture reference which is set if you set the Shader to save to the Texture Manager.
13+
* `TextureManager.addGLTexture` is a new method that allows you to add a WebGLTexture directly into the Texture Manager, saved under the given key.
14+
615
### Bug Fixes
716

817
* The Scale Manager would throw the error 'TypeError: this.removeFullscreenTarget is not a function' when entering full-screen mode. It would still enter fullscreen, but the error would appear in the console. Fix #4605 (thanks @darklightcode)
918

19+
20+
21+
22+
1023
## Version 3.18.1 - Raphtalia - 20th June 2019
1124

1225
### Bug Fixes

0 commit comments

Comments
 (0)