PDA

View Full Version : Textured GL_POINT?



darkrappey
09-30-2006, 12:41 PM
Is it possable to bind textures to GL_POINT.

darkrappey
09-30-2006, 12:43 PM
Sorry, I supose I should expand on that.

I can bind the texture but it maps the UV to a single point. When I draw normal polygons I give it the UV per vertex. But points only have one "vertex."

zeoverlord
09-30-2006, 02:39 PM
Yes, but normally it only samples one point in the texture since it has only one uv coordinate, however you can use the point sprite extension to map a texture to a point if the point size is larger than 1.