Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
mort
mort
@mort@floss.social  ·  activity timestamp 7 months ago

So I'm rendering stuff in the following order:

1. Background image
2. Background fluid color, opaque
3. Sprites etc
4. Foreground fluid color, transparent

So where there's fluid, you should not see the background image, right

SO WHY DO I SEE A BACKGROUND IMAGE

Worse, if I remove the call to draw the foreground fluid, OR make the foreground fluid transparent, IT BEHAVES AS I EXPECT AND THE BACKGROUND IMAGE GOES AWAY

What the actual fuck

#gamedev #graphics #opengl #graphicsprogramming

Screenshot where the background image shines through the fully opaque background fluid color
Screenshot where the background image shines through the fully opaque background fluid color
Screenshot where the background image shines through the fully opaque background fluid color
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.40 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct