mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-07-14 16:04:51 +00:00
2-sided organic material
This commit is contained in:
parent
27663875ea
commit
ebd8f8039d
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ export function ShapeTexture({
|
||||||
clonedMaterial.map = texture;
|
clonedMaterial.map = texture;
|
||||||
clonedMaterial.transparent = true;
|
clonedMaterial.transparent = true;
|
||||||
clonedMaterial.alphaTest = 0.9;
|
clonedMaterial.alphaTest = 0.9;
|
||||||
|
clonedMaterial.side = 2; // DoubleSide
|
||||||
return clonedMaterial;
|
return clonedMaterial;
|
||||||
}, [material, texture, isOrganic]);
|
}, [material, texture, isOrganic]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue