Richard Davey
7b5d6076b2
Added max size value
2020-10-27 14:41:43 +00:00
Richard Davey
f50560eba8
The WebGLRenderer.getMaxTextures
method has been removed. This is no longer needed as you can use the WebGLRenderer.maxTextures
property instead.
2020-10-27 14:36:43 +00:00
Richard Davey
98e85173c3
Update CHANGELOG-v3.50.md
2020-10-27 14:05:52 +00:00
Richard Davey
93b569c5ca
Look-up based on string or instance
2020-10-27 14:05:48 +00:00
Richard Davey
ba9b837739
You can now pass a pipeline instance to the GameObject.setPipeline
method, as well as a string.
2020-10-27 14:05:37 +00:00
Richard Davey
d670edd708
No need to reference via game
2020-10-27 13:55:27 +00:00
Richard Davey
ef1ddb29d9
Improved docs
2020-10-27 13:55:09 +00:00
Richard Davey
b67c67b063
Update CHANGELOG-v3.50.md
2020-10-27 13:45:02 +00:00
Richard Davey
59a215d643
* Types.Core.PipelineConfig
is a new configuration object that you can set in the Game Config under the pipeline
property. It allows you to define custom WebGL pipelines as part of the Game Config, so they're automatically installed and ready for use by all Scenes in your game. You can either set the pipeline
object, or set it under the render
sub-config.
2020-10-27 13:44:58 +00:00
Richard Davey
7e30ff32be
Phaser.Scene.renderer
is a new property available in every Phaser.Scene that gives you a reference to the renderer, either Canvas or WebGL.
2020-10-27 13:42:45 +00:00
Richard Davey
9ea889d0c5
Update CHANGELOG-v3.50.md
2020-10-27 12:26:04 +00:00
Richard Davey
98b4319436
Bind needs to return this
2020-10-27 12:26:01 +00:00
Richard Davey
4ebdc637a9
Tidied up method flow
2020-10-27 12:25:53 +00:00
Richard Davey
d2c025e38a
Added target fbo and all of the shader setters back in
2020-10-27 12:25:42 +00:00
Richard Davey
4f0ebfabcb
Update CHANGELOG-v3.50.md
2020-10-27 11:38:39 +00:00
Richard Davey
b278916b3e
No need to reset during destroy
2020-10-27 11:38:34 +00:00
Richard Davey
2b3863272e
Removed 'nativeTextures' and added new reset parameter
...
* The `WebGLRenderer.nativeTextures` array has been removed and any WebGLTextures created by the renderer are no longer stored within it. All WebGLTexture instances are stored in the `TextureSource` objects anyway, or by local classes such as RenderTexture, so there was no need to have another array taking up memroy.
* The `WebGLRenderer.deleteTexture` method has a new optional boolean parameter `reset` which allows you to control if the `WebGLRenderer.resetTextures` method is called, or not, after the texture is deleted.
2020-10-27 11:38:21 +00:00
Richard Davey
efbc256a1f
Added target fbo
2020-10-26 17:13:24 +00:00
Richard Davey
3c7062ca6a
Common strings.
2020-10-26 17:00:23 +00:00
Richard Davey
bc34d01535
Update WebGLPipeline.js
2020-10-26 15:19:21 +00:00
Richard Davey
1e80f53f1d
Better docs
2020-10-26 15:00:25 +00:00
Richard Davey
7c929e52bc
Finished method docs and added clone
2020-10-26 15:00:17 +00:00
Richard Davey
ec4751ddc6
Finished all method docs
2020-10-26 15:00:07 +00:00
Richard Davey
8e43328ff8
Update CHANGELOG-v3.50.md
2020-10-26 14:24:18 +00:00
Richard Davey
55cbda85b8
Removed debug code
2020-10-26 14:24:15 +00:00
Richard Davey
f87bd7d384
Removed all of the shader setters. This should be done via the WebGLShader class now.
2020-10-26 14:24:06 +00:00
Richard Davey
4806224097
Update CHANGELOG-v3.50.md
2020-10-26 14:05:53 +00:00
Richard Davey
fba97afcb6
Update dirty uniforms
2020-10-26 14:05:49 +00:00
Richard Davey
f32b4c7ecd
Fixed config setter and added mvp matrices
2020-10-26 14:05:39 +00:00
Richard Davey
1e8b1cc583
Removed ProjectOrtho and optimized setters
2020-10-26 14:05:26 +00:00
Richard Davey
7ad02d6c0d
Removed mvp component
2020-10-26 14:05:07 +00:00
Richard Davey
371425a5d2
Use new pipeline resize method
2020-10-26 14:04:55 +00:00
Richard Davey
14e90c60d8
Don't resize to zero dimensions and run proper compare
2020-10-26 14:04:45 +00:00
Richard Davey
291f588110
Removed the mvp component. Pipelines no longer need this.
2020-10-26 14:04:01 +00:00
Richard Davey
af01b23696
JSDocs fix
2020-10-26 14:03:35 +00:00
Richard Davey
3779611833
Update README.md
2020-10-26 14:03:26 +00:00
Richard Davey
8c85887479
Removed all of the mvp functions as they're no longer needed
2020-10-26 14:03:18 +00:00
Kshitiz Srivastava
4941ca3b64
Added loadMediaStream method
2020-10-25 01:24:55 +05:30
samme
be558d2dca
Scale damping
2020-10-22 13:59:49 -07:00
Richard Davey
0b3011add3
Update PointLight-frag.js
2020-10-21 18:15:34 +01:00
Richard Davey
272727459f
Use new shader property
2020-10-21 18:15:28 +01:00
Richard Davey
9531124903
Typo fix
2020-10-21 18:15:19 +01:00
Richard Davey
da47c776fa
New shader class to allow one pipeline to set multiple shaders
2020-10-21 18:15:13 +01:00
Richard Davey
180b29be98
The pipeline can now handle multiple shaders all sharing the same attributes
2020-10-21 18:15:02 +01:00
Richard Davey
c730272ba7
Updated the configs to handle multiple shaders
2020-10-21 18:12:40 +01:00
Richard Davey
f26c931e09
Update CHANGELOG-v3.50.md
2020-10-21 11:46:04 +01:00
Richard Davey
4b1c5c1a0b
Improved docs
2020-10-21 11:30:49 +01:00
Richard Davey
eed8b6a080
Update CHANGELOG-v3.50.md
2020-10-21 11:19:16 +01:00
Richard Davey
7ffa615831
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.
2020-10-21 11:19:12 +01:00
Richard Davey
6ed84e2f34
Added Mesh.ignoreDirtyCache
flag.
2020-10-21 10:15:12 +01:00