Open source Star Ruler 2 source code!

This commit is contained in:
Lucas de Vries
2018-07-17 14:15:37 +02:00
commit cc307720ff
4342 changed files with 2365070 additions and 0 deletions
@@ -0,0 +1,8 @@
varying vec2 uv;
uniform sampler2D texture;
void main() {
vec4 sample = texture2D(texture,uv).rgba;
gl_FragColor.rgb = (sample.rgb - vec3(0.5)) * -2.0 + gl_Color.rgb;
gl_FragColor.a = sample.a * gl_Color.a;
}