phaser/src/renderer/webgl/shaders/BitmapMask-vert.js

13 lines
269 B
JavaScript

module.exports = [
'#define SHADER_NAME PHASER_BITMAP_MASK_VS',
'',
'precision mediump float;',
'',
'attribute vec2 inPosition;',
'',
'void main()',
'{',
' gl_Position = vec4(inPosition, 0.0, 1.0);',
'}',
''
].join('\n');