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

glColor4f() problems

Started by Gamer Tazar May 27, 2002 at 11:09 PM 2 replies 750+ views
Original Post
Gamer Tazar
Gamer Tazar
In lesson 19 i think, the particle one, whenever i use the particle engine with glColor4f i have problems. In my scene, whatever color i choose it colors the WHOLE scene that color! And i only want it on the particles. How in the heck can i change that? glPush and PopMatrix() don''t help.
site is under construction, link open soon
LockePick
LockePick
After you''re done with the particles, add:
glColor4f(1,1,1,1);

This sets color back to default.

------------
http://aud.vze.com <-- Newbie alert, look at your own risk. Can induce severe laughing fits and other variations of hysterical outburst.
Gamer Tazar
Gamer Tazar
THANK YOU SO MUCH! now i can continue coding my entry you are my hero until my next problem :D.
site is under construction, link open soon

Topic Locked

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

Sign in to reply to this topic.