what I’m trying to implement is to cast out a ray that hits an object.
This object has a shader attached, that should calculate the hit position and draw a circle around on the texture with a gradient fading out.
My problems now are:
1.) how to get the hit position
2.) how to draw a circle around on the hit positions texture
I’ve made a screenshot of the UV-map + the model.