Jump to content

Using blend mode with an image with alpha


Jockie

Recommended Posts

Hey guys,

The dxSetBlendMode is usefull for drawing things, but does not really draw something like I want.

Currently I try to draw a loading icon on a white background, the texture size is 256x256.

LoadingIcon2.png

All the 4 blend modes gives almost the same result, but still, they're not close enough of what I want.

Does someone know how to solve this? ^^

EDIT: Forgot to tell how it's drawn:

The loading icon is drawn on a texture with 'modulate_add', which get drawn with 'modulate_add' on another texture, which get drawn with 'add' onto the screen.

The background is directly drawn on the screen with 'blend'.

Grtz,

Jockie

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...