From what I saw on the Internet, this problem cannot be solved with my approach.
I am currently writing a program that uses a selection buffer, passing all the objects in the scene. However, one of the objects is a texture, in which a significant part has alpha 0. It works fine when rendering, alpha values are not displayed, but when the alpha test is skipped in the selection mode and hover over transparent areas, select the object instead of what is behind him.
Is there a way to enable alpha testing in select mode?
source
share