I would like to create same as image in this article. Map the world onto a torus by using GLSL shader.
I tried, but my sketch empty. How to do?
we can’t tell - you need to show your code.
which lib do you use?
make sure you load your image correctly?
Chrisir
See, the problem with trying to help you is… we have nowhere to start.
Do we really need to code up a torus, load an image, and texture it… just to start helping you? I man, if you already have that working, let’s see it! Maybe you only need help adding the shader!
Or maybe you have nothing. Which means you haven’t even tried. If this is the case, forget about the shader for now. In fact, forget about the torus. Can you apply a texture to a sphere? Write a sketch that does that.