How do I create a fire sphere (fireball) in opengl? (opengl Visual C++)
- by gn66
I'm making an evil Pacman in OpenGL and I need to make my spheres look like a fireballs, does anyone know how I do that?
And what material colour should I use?
Also, is there a colour palette to change the colour of my materials?
This is how I create a sphere:
GLfloat mat_ambient[] = { 0.25, 0.25, 0.25, 1.0 };
GLfloat mat_diffuse[] = { 0.4,…