Skip to content

Commit 2423b4c

Browse files
committed
Fixed alpha on graphics shader
1 parent ea0c1ab commit 2423b4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v3/src/renderer/webgl/shaders/UntexturedAndNormalizedTintedShader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = {
2222
'varying vec4 v_color;',
2323
'varying float v_alpha;',
2424
'void main() {',
25-
' gl_FragColor = vec4(v_color.bgr, v_alpha);',
25+
' gl_FragColor = vec4(v_color.bgr * v_alpha, v_alpha);',
2626
'}'
2727
].join('\n')
2828
};

0 commit comments

Comments
 (0)