playcanvas / engine

JavaScript game engine built on WebGL, WebGPU, WebXR and glTF
https://playcanvas.com
MIT License
9.56k stars 1.34k forks source link

Text elements render odd on certain Samsung models #6965

Open bjornsyse opened 3 days ago

bjornsyse commented 3 days ago

It seems certain Samsung models render text elements wrong. I've seen the issue on Samsung S23 and S20, both I think using Exynos GPUs.

Blank project with 2D screen + text element using Roboto font: https://playcanvas.com/project/1255348/settings Published build: https://playcanv.as/p/CdFCBy9Z/

Chrome on windows screenshot:

chrome_dWnpzP12fE

Samsung Internet screenshot: image

image image

LeXXik commented 3 days ago

The aliasing stats look bogus. Does it work, if you disable anti-aliasing in the project?

mvaligursky commented 2 days ago

I tried the published link you shared on Galaxy S20 using Samsung browser, and that seems ok. This is the device, and it uses Exynos, so I guess there could be something else at play: https://www.gsmarena.com/samsung_galaxy_s20-10081.php

Screenshot 2024-09-16 at 14 43 59 Screenshot 2024-09-16 at 14 43 14 Screenshot 2024-09-16 at 14 42 56

I tried on S23 but the devices I have access to were both Snapdragon, and rendered the text correctly as well.

mvaligursky commented 2 days ago

S10 https://www.gsmarena.com/samsung_galaxy_s10-9536.php with Exynos seems ok as well

Screenshot 2024-09-16 at 14 50 30 Screenshot 2024-09-16 at 14 49 10 Screenshot 2024-09-16 at 14 48 54
bjornsyse commented 2 days ago

Fantastic, that is good news. Changing Antialiasing had no effect on my devices.