-
World Color
Ok, this should be a nice easy one for someone out there.
I just can't seem to find it.
How do you set the default world color from black?
Right before I do any pushmatrix calls, I have this....
glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
//glColor3f(0.0f, 1.0f, 0.0f); //doesn't change the color
I put a poly behind everything and colored that, but I know there's a better way.
Thanks,
Zath
-
Advanced Member
Frequent Contributor
Re: World Color
try glClearColor(0.0, 1.0, 0.0, 1.0);
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules