MCSharp
MCSharp

Reputation: 1068

THREE.JS: Seeing geometry when inside mesh

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?

Upvotes: 8

Views: 6415

Answers (1)

WestLangley
WestLangley

Reputation: 104833

mesh.material.side = THREE.DoubleSide;

Or

mesh.material.side = THREE.BackSide;

three.js r.62

Upvotes: 18

Related Questions