digilines icon indicating copy to clipboard operation
digilines copied to clipboard

LCD text is not visible from distance

Open numberZero opened this issue 5 years ago • 0 comments

screenshot_20190910_190527

The reason is that mipmapping blends transparent and opaque pixels together, but the resulting pixels are alpha-tested and not alpha-blended (that is, each pixel is either drawn or not, no intermediate states). But there is a simple workaround: use opaque background in the entity.

screenshot_20190910_190500

To render that, I replaced local texture = "[combine:"..LCD_WITH.."x"..LCD_WITH with local texture = "lcd_anyside.png^[resize:"..LCD_WITH.."x"..LCD_WITH.."^[combine:"..LCD_WITH.."x"..LCD_WITH but that looks blurry when filtering is enabled.

numberZero avatar Sep 10 '19 19:09 numberZero