Advertisement

colour fading

Started by January 15, 2001 04:58 AM
1 comment, last by ogl 23 years, 10 months ago
How could set the colour of an object to fade i.e given a cone to be strongest at the point and gradually fade towards the base end? I''m using glMaterialfv(......)
Looks like you''d have to make the cone yourself, & then do it the old fashioned way by specifying a seperate vertex colour for the apex and the base verticies.

--wav
Advertisement
does that mean I can''t achieve it if I''m using gluCylinder (...)?

cheers

This topic is closed to new replies.

Advertisement