realbasic-games
[Top] [All Lists]

Re: Can't get masks working in RB3D

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Can't get masks working in RB3D
From: Lo Saeteurn <realbasic at miensoftware dot com>
Date: Wed, 17 May 2006 09:48:27 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <595135f40605170939w687cbeffy98a4109fa3c2ab58 at mail dot gmail dot com>
Not a bug, but a feature. You have to premultiply the mask to the image. In other words, convert the areas in the image that should be transparent to black:
http://www.geocities.com/jeffq_cnet/Meshwork/alphamask.html

On May 17, 2006, at 9:39 AM, Rasmus Lindén wrote:

Hello,

I'm having trouble getting 8-bit masks to work in RB3D, there's half
translucent white where there should be nothing. Is this a known
issue, or am I doing something totally wrong?

(1-bit masks (or rather, when I have a picture with pure white and no
mask as texture) it works fine)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>