Original Post
hello, in order to perform picking not only on geometrical objects but also depending on their texture's alpha value, i am thinking of using color coded picking which is described here: http://www.lighthouse3d.com/opengl/picking/index.php3?color1 but i am not sure how to do this correctly with textures. how can i tint a texture completely in one color, except for the alpha channel? also, how does the renderpass look like? i try this every frame: drawPickableObjectsWithUniqueColor(); getPickedObjectAccordingToColorUnderMouseCursor(); drawAllObjectsWithNormalColor(); unfortunately i still see the objects modulated with their unique color. the final rendering does not seem to overwrite the picking rendering. thanks!