Newer
Older
pixi.js / src / filters / void / void.vert
@Ivan Popelyshev Ivan Popelyshev on 15 May 2016 263 bytes some fixes for filters
attribute vec2 aVertexPosition;
attribute vec2 aTextureCoord;

uniform mat3 projectionMatrix;
varying vec2 vTextureCoord;

void main(void){
    gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);
    vTextureCoord = aTextureCoord;
}