realbasic-games
[Top] [All Lists]

Re: Transparency Issues

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Transparency Issues
From: "Joseph J. Strout" <joe at strout dot net>
Date: Sun, 2 Apr 2006 21:41:52 -0700
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <0CC98886-E6F6-4FB3-9598-85D5904BD823 at miensoftware dot com>
At 11:16 AM -0700 4/2/06, Lo Saeteurn wrote:

Is there any way around that transparency issue that makes NULLShader not work?

That what now?

I noticed how fast my text3D is without the transparency. Even 10 pages of text runs smoothly on my slow iBook. Does 1-bit alpha textures suffer from the same issues?

What issues? It's true that if you use alpha blending, it's a lot more work for the renderer; such polygons have to be sorted and inserted in the right place, which non-transparent ones do not. Sorting is expensive.

I don't think 1-bit textures cause this.

 If it does not, how do I use 1-bit alpha textures?

Just use AddShapePicture instead of AddShapePictureWithMask. Or if you're building a Material, use a picture with no mask, and with ..Transparent = 1.

Best,
- Joe

--

Joseph J. Strout
joe at strout dot net
_______________________________________________
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>