Semi-transparent textures render incorrectly
nokola opened this issue · comments
To reproduce:
- Attempt to render attached texture hs.png
Expected:
texture renders with smooth and low opacity
Actual:
texture renders with high opacity and black border
Notes:
- I have set
game_config_mut().bloom_enabled = false;
insetup()
- Is this sRGB vs linear color handling issue?
Drawing code:
draw_sprite_rot(
info.ship.into(),
vec2(trans.x, trans.y),
WHITE,
1,
body.rotation().angle(),
info.size / 2.5,
);