Skip to content

Commit 4b16d5c

Browse files
fix(DynamicShader) add alpha calc at the end
Co-authored-by: Boevé, Jeffrey <[email protected]>
1 parent 36681ca commit 4b16d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/renderers/webgl/shaders/DynamicShader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ export class DynamicShader extends WebGlCoreShader {
411411
412412
${drawEffects}
413413
414-
gl_FragColor = shaderColor;
414+
gl_FragColor = shaderColor * v_color.a;
415415
}
416416
`;
417417
}

0 commit comments

Comments
 (0)