Skip to content

Commit 1cb3c0c

Browse files
committed
Fixed tint issue width textured shader
1 parent b71edc2 commit 1cb3c0c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = {
2727
'varying float v_alpha;',
2828
'void main() {',
2929
' vec4 sample_color = texture2D(u_sampler2D, v_tex_coord);',
30+
' sample_color *= vec4(v_color * v_alpha, v_alpha);',
3031
' gl_FragColor = sample_color;',
3132
'}'
3233
].join('\n')

0 commit comments

Comments
 (0)