THREE.JS: Seeing geometry when inside mesh
Asked Answered
R

1

8

When entering the geometry, for example a sphere mesh, it acts as if the geometry doesn't exist. The color and texture are visible on the outside. But once I zoom into the mesh, the properties are gone.

How can I make the color and texture of a sphere mesh be visible inside the mesh?

Rearm answered 6/11, 2013 at 23:29 Comment(0)
G
18
mesh.material.side = THREE.DoubleSide;

Or

mesh.material.side = THREE.BackSide;

three.js r.62

Getup answered 6/11, 2013 at 23:34 Comment(1)
Thank you. Never knew about the option.Rearm

© 2022 - 2024 — McMap. All rights reserved.