mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Fixed alpha on graphics shader
This commit is contained in:
parent
ea0c1ab81c
commit
2423b4c5fa
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ module.exports = {
|
|||
'varying vec4 v_color;',
|
||||
'varying float v_alpha;',
|
||||
'void main() {',
|
||||
' gl_FragColor = vec4(v_color.bgr, v_alpha);',
|
||||
' gl_FragColor = vec4(v_color.bgr * v_alpha, v_alpha);',
|
||||
'}'
|
||||
].join('\n')
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue