Hi,
I have a question about clicking the object. Since we need to do all transformations in the shader, when we are going to implement the clicking operation, we are also not allowed to do the transformation. Is it possible to let the shader output the clicked object?
For the picking, you can do the inverse transformations on the CPU side. It is mandatory to do the transformations in the shaders only for the rendering.
Hi, I have a question about clicking the object. Since we need to do all transformations in the shader, when we are going to implement the clicking operation, we are also not allowed to do the transformation. Is it possible to let the shader output the clicked object?
Thanks.