Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
mort
@mort@floss.social  ·  activity timestamp 4 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
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.2.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login