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
+15
View File
@@ -0,0 +1,15 @@
varying vec3 uvs;
varying vec2 uv;
uniform sampler2D texture;
//uniform samplerCube texture;
const float twopi = 6.28318530718;
void main() {
vec3 dir = uvs;
vec4 color = texture2D(texture,uv);
//vec4 color = textureCube(texture,dir,0.0);
gl_FragColor = color;
}