Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Controling Blending!


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 MaNiAk   Members   -  Reputation: 122

Like
Likes
Like

Posted 01 August 2001 - 09:07 AM

Is there a way i could control the amount i blend onto an object without changing image data directly, i didn''t feel like looking it up so i just decided to ask. Im trying to have a blinking effect for a blended layer on top of another layer (multipass multitexturing) which also brings up the question is there a way i can do this with multitexturing to? Once again, i know i could look this up but im tired as a big brown poo right now (stayed up till 5 a.m. programming) so im just asking u guys: respond quick plz!

Sponsor:

#2 zedzeek   Members   -  Reputation: 528

Like
Likes
Like

Posted 01 August 2001 - 09:42 AM

got up at 5am to look at saturn through the telescope.
see my site i recently posted a demo which shows how blending works.

u might wanna use
glDisable( GL_LIGHTING )
glEnable( GL_BLEND );
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA )
glColor4f(1,1,1, 0.0 .. 1.0 ) // alpha controls how much to blend
draw object

#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 02 August 2001 - 09:11 AM

Is there a difference between material alpha-blending and
texture alpha-blending? Can someone give a quick example of both?

How would I blend a material color on a texture?


#4 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 02 August 2001 - 09:13 AM

In other words, how can I fully show the texture, and how can
I fully show the material (a solid color), and then have something
that will blend both of them together?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS