mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 14:36:13 +01:00
15 lines
338 B
GLSL
15 lines
338 B
GLSL
varying vec2 v_vTexcoord;
|
|
varying vec4 v_vColour;
|
|
|
|
#define PI 3.14159265358979323846;
|
|
|
|
uniform vec2 position;
|
|
uniform float amount;
|
|
|
|
void main() {
|
|
//vec2 cen = v_vTexcoord - position;
|
|
//float angle = (atan(cen.y, cen.x) / PI + 1.) / 2.;
|
|
//float dist = length(cen);
|
|
|
|
gl_FragColor = texture2D( gm_BaseTexture, v_vTexcoord );
|
|
}
|