mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-14 14:33:53 +01:00
16 lines
338 B
Plaintext
16 lines
338 B
Plaintext
|
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 );
|
||
|
}
|