Texture at Coordinates

I have a land (sphere).
I want her to click on it she adds a swirl texture on it.

I already have the point when touching the sphere, but I do not know how to add the material on it.

You would need to write a custom shader for your sphere object if you want to edit the texture dynamically and add effects like a swirl onto the existing texture.

Or if you just want to overlay a new texture at that location, then it sounds like you’d want to use a decal system to project the swirl onto your sphere.

you have an example where you can guide me to write a custom shader?

1 Like

Thank you

I also found this video series helpful when I was learning the basics of shaders, epsecially since it uses JME