Skip to content

Commit

Permalink
Merge pull request #754 from galacean/feat/shape-component-alpha
Browse files Browse the repository at this point in the history
feat: shape component support alpha blend
  • Loading branch information
yiiqii authored Nov 19, 2024
2 parents 6047bce + 7ec9e83 commit 136b832
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/effects-core/src/components/shape-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ uniform vec4 _Color;
void main() {
vec4 color = _Color;
color.rgb *= color.a;
gl_FragColor = color;
}
`;
Expand Down

0 comments on commit 136b832

Please sign in to comment.