Fixed filters for new shader code.

This commit is contained in:
photonstorm
2013-11-28 21:29:16 +00:00
parent f22159e257
commit b2fc6c422a
50 changed files with 863 additions and 408 deletions
+5 -5
View File
@@ -14,11 +14,11 @@ PIXI.SineWaveFixedBaseFilter = function(width, height, texture)
];
this.uniforms = {
iResolution: { type: 'f3', value: { x: width, y: height, z: 0 }},
iMouse: { type: 'f3', value: { x: 0, y: 0, z: 0 }},
iGlobalTime: { type: 'f', value: 1 },
iDate: { type: 'f4', value: dates },
iChannel0: { type: 'sampler2D', value: texture, wrap: 'repeat' }
iMouse: { type: '3f', value: { x: 0, y: 0, z: 0 }},
iResolution: { type: '3f', value: { x: width, y: height, z: 0 }},
iGlobalTime: { type: '1f', value: 1 },
iDate: { type: '4fv', value: dates },
iChannel0: { type: 'sampler2D', value: texture, textureData: { repeat: true } }
};
// Shader by BrokenBit (https://www.shadertoy.com/view/MsXGzX)