Tinkered with the beam a bit. Added WIP models for the routing nodes. Added basic item routing node.

This commit is contained in:
WayofTime 2016-01-15 21:53:55 -05:00
parent 08e8ebf724
commit 76dceb3534
11 changed files with 283 additions and 99 deletions

View file

@ -6,5 +6,5 @@
vec4 color = texture2D(bgl_RenderedTexture, texcoord);
float r = sin(texcoord.x * 6 - 1.5 + sin(texcoord.y - time / 3.0)) * 1.1; //(sin((texcoord.x - texcoord.y) * 4 - time) + 1) / 2;
gl_FragColor = vec4(color.r * gl_Color.r, color.g * gl_Color.g, max(color.b * gl_Color.b, r), color.a * gl_Color.a);
gl_FragColor = vec4(min(1 - r, color.r * gl_Color.r), min(1 - r, color.g * gl_Color.g), color.b * gl_Color.b, color.a * gl_Color.a);
}