mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-02-28 02:53:54 +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.transparent = true;
|
||||
clonedMaterial.alphaTest = 0.9;
|
||||
clonedMaterial.side = 2; // DoubleSide
|
||||
return clonedMaterial;
|
||||
}, [material, texture, isOrganic]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue