Tuxture deep-thickness

Hello, I put texture on one side of a plane like in pg. Then I hid the plane. Finally, I wanted to increase the thickness of the texture, but I could not achieve this. If I can achieve this, I will be able to reveal the object I want with a wonderful feature. I would like your help regarding the situation.

Plane Examples | Babylon.js Playground (babylonjs.com)

What do you mean by “thickness” of the texture? A texture is normally a 2D object, so it doesn’t have a texture to speak of (except for medical imaging where we see more 3D textures). Can you describe more in detail or show a picture of what you want to achieve?

I want to get a texture in 3D. I don’t know how possible this is in babylonjs. Maybe that’s why I haven’t been able to find an answer despite searching a lot.

Adding “thickness” to a material based only on texture is not something that can be done automagically in any framework. You’ll have to use some kind of algorithm to generate this volume, probably Marching cubes Marching cubes - Wikipedia

1 Like

This way I found a solution. Of course it’s not perfect :). I’ve researched the algorithm you suggested, but I didn’t have time to try it. I will try it at the first opportunity. I wonder how the correct output of the algorithm will be :slight_smile:

Plane Examples | Babylon.js Playground (babylonjs.com)