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
+8
View File
@@ -0,0 +1,8 @@
varying vec2 uv;
uniform sampler2D texture;
uniform float factor;
void main() {
vec4 sample = texture2D(texture,uv);
gl_FragColor = vec4(mix(sample.rgb, gl_Color.rgb, factor), gl_Color.a * sample.a);
}