Commit graph

126 commits

Author SHA1 Message Date
Ben Richards
0a2bede95e Limit textures probed by TextureManager.getPixel and getPixelAlpha. 2024-03-05 15:42:04 +13:00
Ben Richards
cd2beb06da Remove flipY parameter from Shader.setRenderToTexture. 2024-02-28 17:18:36 +13:00
Ben Richards
928ce1a1e7 Fix LightPipeline failing to render two objects in a batch. 2024-02-28 16:48:58 +13:00
Richard Davey
1ba01834ff Updated readme and change log for 3.80.1 2024-02-27 15:56:03 +00:00
Richard Davey
4f7445f8d7 v3.80.1 2024-02-27 15:53:24 +00:00
Ben Richards
b1806fd721 Remove unsynced flipY from Shader and DynamicTexture textures.
This might be causing some issues with context restore,
and seems entirely unnecessary.
2024-02-27 17:29:49 +13:00
Ben Richards
1b77881dd4 Ensure TextureSource.setFlipY always updates the texture.
When it's a Canvas or Video, at least.
2024-02-27 15:17:52 +13:00
Ben Richards
2615cf6a0f Prepare 3.80.1 bugfix release. 2024-02-27 11:24:04 +13:00
Ben Richards
37ba3510f2 Fix RenderTexture crashing in the presence of a light.
More generally, anything with a default/no normal map should be fixed.
2024-02-26 17:45:52 +13:00
Ben Richards
7eede9d236 Standardise texture update in Shader.initSampler2D. 2024-02-26 16:19:24 +13:00
Ben Richards
42039a144e Fix failure to restore compressed textures after WebGL context loss. 2024-02-23 17:55:03 +13:00
Ben Richards
3cd756dbe9 Fix new WebGLTextures remaining bound after creation.
This caused an error when calling `Shader.setRenderToTexture()`
after the game started running.
The leftover texture caused a temporary cyclic reference with the new
Framebuffer. The actual rendering pipeline was not affected.
2024-02-22 19:01:03 +13:00
Richard Davey
e0f9e7d1d0 Preparing for v3.90 development 2024-02-21 23:15:21 +00:00
Robert Kowalski
64416f986d
Update CHANGELOG-v3.80.md 2024-02-21 17:10:00 -05:00
Richard Davey
52554ea962 Update CHANGELOG-v3.80.md 2024-02-21 17:42:42 +00:00
Richard Davey
5a12f2a193 Preparing for v3.80 release 2024-02-21 13:31:13 +00:00
Richard Davey
c1e61e6421 Update CHANGELOG-v3.80.md 2024-02-21 13:25:30 +00:00
Richard Davey
707c03b1f5 Update CHANGELOG-v3.80.md 2024-02-21 13:00:50 +00:00
Richard Davey
4a85524425 Update CHANGELOG-v3.80.md 2024-02-21 01:21:35 +00:00
Richard Davey
5ff0574385 Update CHANGELOG-v3.80.md 2024-02-21 01:11:46 +00:00
Richard Davey
708733e7a3 Update CHANGELOG-v3.80.md 2024-02-21 00:17:11 +00:00
Richard Davey
862f75089e Merge branch 'master' of https://github.com/phaserjs/phaser 2024-02-20 23:56:21 +00:00
Richard Davey
43a77245c5 Update CHANGELOG-v3.80.md 2024-02-20 23:56:18 +00:00
Ben Richards
60176e4b39 Merge remote-tracking branch 'origin/master' 2024-02-21 11:49:15 +13:00
Ben Richards
13d6defb33 Fix rare text sizes failing to render.
If initialized at a power-of-two resolution, then resized to a
non-power-of-two resolution, some extra parameters must be updated.
2024-02-21 11:48:59 +13:00
Richard Davey
d054414ec4 Update CHANGELOG-v3.80.md 2024-02-20 22:46:09 +00:00
Richard Davey
450b0d244f Update CHANGELOG-v3.80.md 2024-02-20 21:38:45 +00:00
Robert Kowalski
6eba4f25ef
Update CHANGELOG-v3.80.md 2024-02-20 14:54:12 -05:00
Richard Davey
4d50ececdd Update CHANGELOG-v3.80.md 2024-02-20 18:39:55 +00:00
Richard Davey
ffc0518f2d Update CHANGELOG-v3.80.md 2024-02-20 17:50:47 +00:00
Richard Davey
8c9f7c7b37 Update CHANGELOG-v3.80.md 2024-02-20 16:47:21 +00:00
Richard Davey
e87277aa1d Update CHANGELOG-v3.80.md 2024-02-20 16:35:18 +00:00
Richard Davey
9b80761e36 Update CHANGELOG-v3.80.md 2024-02-20 16:35:18 +00:00
Robert Kowalski
35932d9fc2
Update CHANGELOG-v3.80.md 2024-02-20 11:28:57 -05:00
Richard Davey
e1ba762099 Update CHANGELOG-v3.80.md 2024-02-20 16:23:37 +00:00
Ben Richards
a74f99563b Fix spritesheet from atlas from compressed texture. 2024-02-20 21:45:06 +13:00
Ben Richards
a2178c8466 Fix MIPMaps being disabled for compressed textures. 2024-02-20 13:02:19 +13:00
Robert Kowalski
7a6845f6bf Use GetFastValue so all children are added to the container via GameObjectCreator Fix #6743 2024-02-19 12:09:07 -05:00
Richard Davey
514f4db5fc Update CHANGELOG-v3.80.md 2024-02-19 16:37:09 +00:00
Richard Davey
709a1d90ce Update CHANGELOG-v3.80.md 2024-02-19 15:36:40 +00:00
Richard Davey
2486b2b5cf Update CHANGELOG-v3.80.md 2024-02-19 15:31:55 +00:00
Richard Davey
3c16bac39e Update CHANGELOG-v3.80.md 2024-02-19 15:28:25 +00:00
Richard Davey
abbbf638f6 Update CHANGELOG-v3.80.md 2024-02-19 14:41:59 +00:00
Ben Richards
89543c9880 Change S3TCRGB to S3TCSRGB. 2024-02-17 20:59:00 +13:00
Ben Richards
f8ebbf38ef Verify compressed texture compatibility with WebGL and improve warnings. 2024-02-17 20:43:43 +13:00
Ben Richards
27f61c25e9 Merge remote-tracking branch 'origin/master' 2024-02-17 18:16:14 +13:00
Ben Richards
6c8c432fbf Add support for sRGB color in ETC compressed PVR files. 2024-02-17 18:15:56 +13:00
Robert Kowalski
5a2f789856
Update CHANGELOG-v3.80.md 2024-02-16 16:52:43 -05:00
Ben Richards
d70c107fde Add experimental support for BPTC compressed textures in PVR files.
These haven't been verified to work, but PVR format 15
(COMPRESSED_RGBA_BPTC_UNORM_EXT or COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT)
conforms to the specification, and PVR format 14
(COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT or
COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT) is a best guess.
2024-02-16 17:55:44 +13:00
Ben Richards
14bea5a995 Support sRGB compressed textures in PVR files.
ASTC format textures would previously be defaulted to linear RGB.
S3TC format textures would either default to linear RGB,
or not load at all.
2024-02-16 17:48:43 +13:00