|
|
blend question
hello
i have a blendfunc such as : GL_ONE , GL_ONE_MINUS_SRC_ALPHA
the problem is that if i do a glColor4f( 1,1,1,alpha ) i can't get my
sprites to fade in /out. ( they get "whiter" )
Is there a way to get a "ghost" effect with such a blend func ?
Thank you
pat.
|
|
0
|
|
|
|
Reply
|
patrox
|
10/28/2004 1:06:29 PM |
|
patrox wrote:
> i have a blendfunc such as : GL_ONE , GL_ONE_MINUS_SRC_ALPHA
>
> the problem is that if i do a glColor4f( 1,1,1,alpha ) i can't get my
> sprites to fade in /out. ( they get "whiter" )
>
> Is there a way to get a "ghost" effect with such a blend func ?
Perhaps a blend function GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA is what
you really want? Otherwise you'll always get the full sprite color
value, the alpha controls only the amount of background color.
Malte
|
|
0
|
|
|
|
Reply
|
Malte
|
10/28/2004 2:02:42 PM
|
|
|
1 Replies
120 Views
(page loaded in 0.017 seconds)
Similiar Articles: comp.periphs.scsi - page 33SCSI bus mix question - Adaptec 29320-R 8 66 (10/18/2003 9:54:46 AM) This question has probably been asked a thousand times, but bear with me (no clear answer to this ... Image blending - comp.graphics.api.openglHi, I'd like to blend 2 images together such that I can control how much of ... Post Question | Groups | ... MSTP RSTP - slow convergence in mixed environnement 802.1S 802.1W ...My question is: Is it possible to run a mix 802.1d and 802.1w in differents instance ? my assumption is that the switch detects 802.1d format and use this protocol in ... Blending in OpenGL - comp.graphics.api.opengl... Post Question | Groups | ... Have I understood the blend function wrong? Here's what I expect the program to do. Blending useing glColor4f(....) - comp.graphics.api.opengl ...It refuses to work... it just does not blend... Please have a look at the b... ... Post Question | Groups | ... Alpha blending with depth buffer - comp.graphics.api.opengl ...Still, I've got two questions. In the following with "3d object" I mean a 3d model ... api.opengl What you probably want, is enable alpha blending with glEnable(GL_BLEND). TGA /BMP to RGBA - Newbie - comp.graphics.api.openglIn a follow-up question... Is it possible to load a .bmp (which I know is RGB) and add ... api.opengl What you probably want, is enable alpha blending with glEnable(GL_BLEND). Duplicate vs. Original, Calculation question - comp.databases ...... up 14 times in my ACTUAL DOC AFFECTED database > because of a user entry mix-up ... Duplicate vs. Original, Calculation question - comp.databases ... Windows XP Filemaker ... Raster Color - comp.graphics.api.opengl... Post Question | Groups | Stream ... Hello, I've got a problem where the raster color gets changed (I think by drawing ... Transparency of BMP image pixels - comp.graphics.api.opengl ...Hi all, I just started to learn OpenGL - and I have a newbie question about ... acm.org> wrote: > >> See also: glTexEnv you need to set the correct texture blend ... Will It Blend? | Presented by Blendtec HomeWill it Blend? Home Don't Try This @ Home Try This @ Home Friends of Will it Blend Will It Blend Store Suggest Stuff To Blend Subscribe / RSS Blendtec Home Blenders Will It Blend? - Wikipedia, the free encyclopediaWill It Blend? is a viral marketing campaign consisting of a series of infomercials demonstrating the Blendtec line of blenders, especially the Total Blender. In the ... 7/29/2012 10:28:38 PM
|
|
|
|
|
|
|
|
|