That's quite straitforward. While creating a technical demo, i encountered a problem, where i need to know color of textures under mouse coursor.

As i see it, there must be a function to transform world coodinates of ray collision with model to texture coordinates of model.

One of intended applications for that function: show if the model mouse is pointing at is transparent under mouse, and to skip collisions with transparent parts of model.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.