I have created a texture image that is loaded onto a polygon. What I would like to do next is draw a rectangle on top of the texture image and make the rectangle translucent. What would be the best way to go about doing this?
Draw textured polygon as usual.
Enable blending, set colors to RGBA with Alpha around 0.5, (disable depth test or move the rectangle toward the camera), and draw the rectangle.
Don’t forget to re-enable depth test and disable blending before drawing the textured polygon again.
For reference, read this :
Thank you for your help, I was able to get it to work