PDA

View Full Version : Point particles



Edu
02-06-2007, 01:59 AM
Hello,
I'm trying to make a little particle system using GL_POINTS, but if I use GL_LIGHTING those points appear unlit. Is there any way to display them without lighting? I mean, using only their color defined by glColor3f(). I've tried changing the normal to follow the light direction and changing the material, but I don't like theese solutions, anyone knows other easier way to do it? Thanks!

juanmanuelsanchez
02-06-2007, 02:39 AM
using glDisable(GL_lighting) before you render them and then enable it again once its done. Im not sure of this tho (Im very very new to 3d programing)

Edu
02-09-2007, 02:53 AM
Thanks, that worked fine!