defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Editor font-view renders fonts with non-premultiplied alpha. Game and gui views uses premultiplied. #1130

Open Malmer opened 7 years ago

Malmer commented 7 years ago

Expected behaviour

Render the same way in the font view as in the gui view and in the game (=premultiplied)

Actual behaviour

Blend mode is set to non-premultiplied, creating a black halo around the font in the font view (only)


Defold version1.2.111
Defold sha5f3ff6f93eadaf0fdec617c8baac0c4e2232f22d
Build time2017-08-11T11:03:14.856873
OS nameMac OS X
OS version10.12.6
OS archx86_64
Java version1.8.0_102-b14
GPUAMD Radeon Pro 460 OpenGL Engine
GPU Driver2.1 ATI-1.51.8
Malmer commented 7 years ago

This isn't very visible until you roll your own font shader that uses white outline.