-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
Description
Version
- Phaser Version: 3.87.0
- Operating system: win11
- Browser: chrome, firefox
Description
In conclusion, RenderTexture with (even width, even height) size has better rendering quality.
The texture size is 641x73 = odd width, odd height,
render.roundPixels
is enabled
Game objects from top to bottom are :
- Image game object for showing texture.
- Rendering quality is good if
render.roundPixels
is enabled. Blur whenrender.roundPixels
is disabled.
- Rendering quality is good if
- RenderTexture with size 641x73 (odd width, odd height), equal to pasted texture
- Blur, no matter the
render.roundPixels
is enabled or disabled.
- Blur, no matter the
- RenderTexture with size 642x73 (even width, odd height)
- A little blur
- RenderTexture with size 642x74 (even width, even height)
- Rendering quality is good as 1. Image game object, no matter
render.roundPixels
is enabled or disable. i.e. the rendering quality is better than Image game object whenrender.roundPixels
is disabled.
- Rendering quality is good as 1. Image game object, no matter
- RenderTexture with size 662, 94 (even width, even height)
- Rendering quality is good as 4. RenderTexture