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

Blending

Started by Pillejunior Nov 20, 2000 at 3:24 PM 0 replies 300+ views
Original Post
Pillejunior
Pillejunior
I have a question about tutorial 18. Does someone know how to blend a quadratic object?
Wavarian
Wavarian
Its as simple as the tutorial about blending textures.
You set the quadric''s color using the glColor4f() function. The last value in that function sets the alpha value. Im sure you know that 0.0f is completely transparent & 1.0f is completely opaque. Then all you do is disable depth testing & set the blending mode you want.

-- Wav

Topic Locked

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

Sign in to reply to this topic.