Skip to main content
GameDev.net gamedev.net
🔒 Locked

Alpha blending

Started by darkbard Jun 28, 2004 at 8:34 AM 0 replies 400+ views
Original Post
darkbard
darkbard
Hi guys, I got a rectangle having a color and an alpha value; I have to draw this rectangle on a surface, changeing the rect color based on its alpha value (my platform support only RGB colors drawing). I can use only bitewise operators to know the final color to draw. How can I do?? Explanation: using GDI primitives, I have to create a Canvas window supporting alpha blending. I don't know how to use Logical operator to compine background colour and objects colour to implement this feature. Someone can (understand me and) help me ? bye

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.