mirror of
https://github.com/ad044/lainTSX.git
synced 2024-10-22 23:19:06 +00:00
transparency issue fix.
This commit is contained in:
parent
01a30629c9
commit
1f74d8e8cb
1 changed files with 7 additions and 1 deletions
|
@ -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 = () => {
|
||||
|
|
Loading…
Reference in a new issue