transparency issue fix.

This commit is contained in:
ad044 2020-09-14 22:52:05 +04:00
parent 01a30629c9
commit 1f74d8e8cb

View file

@ -38,7 +38,13 @@ const LainConstructor = (props: LainConstructorProps) => {
animator.animate();
});
return <spriteMaterial attach="material" map={lainSpriteTexture} />;
return (
<spriteMaterial
attach="material"
map={lainSpriteTexture}
alphaTest={0.01}
/>
);
};
export const LainIntro = () => {