amethyst / amethyst/bracket-lib

Can't use only alpha for transparency

オープン
#197 コメント 4 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
1.7k
フォーク
126
PR マージ指標
30日以内にマージされた PR はありません

説明

I am trying to use a font with alpha transparency and black pixels. The black pixels get culled and I can't seem to find a way to make it render them over the background.

I've also tried explicitly setting the transparent color for the font to a different one than black, but it changes nothing:
```
let mut context = BTermBuilder::new()
.with_title("bracket-lib test")
.with_simple_console(80, 50, "tiles.png")
.with_font_bg("tiles.png", 16, 16, RGB::named(MAGENTA))
.with_tile_dimensions(16, 16)
.with_fullscreen(true)
.with_vsync(true)
.with_advanced_input(true)
.with_automatic_console_resize(true)
.build()?;
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。