-
Polygon Masking
Hello,
So, I've been trying to do this for the past few days:
I need to render a GL_POLYGON with it's content masked.
glPolygonStipple() is exactly the function I need but unfortunately it's not supported anymore.
Please note that I want to be able to change the color of the solid areas, so that I can load the pattern from a file but change it's color dynamically.
I'm almost sure that the solution has to do with textures but I don't know exactly what to do.
Thanks in advance,
Jason
I hope that I describe my problem correctly.
Tags for this Thread
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