mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-01-19 12:14:47 +00:00
2-sided organic material
This commit is contained in:
parent
27663875ea
commit
ebd8f8039d
|
|
@ -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…
Reference in a new issue