
demon_boy wrote:Where the Daintree Rainforest meets the sea you might find mangroves. Watch out for ol' Salty!
thomasthespacefox wrote:a walled city im working on. the city not only will have a upper level across the high-rise rooftops. but also has a network of underground buildings, tunnels, etc.
MineYoshi wrote:thomasthespacefox wrote:a walled city im working on. the city not only will have a upper level across the high-rise rooftops. but also has a network of underground buildings, tunnels, etc.
Nice Building!
uniform sampler2D baseTexture;
void main(void)
{
vec2 uv = gl_TexCoord[0].st;
vec4 color = texture2D(baseTexture, uv);
color.rgb *= gl_Color.rgb;
float cs = 0.1;
float b1 = smoothstep(1.0-cs, 1.0, 2.0*abs(uv.t-0.5));
float b2 = smoothstep(1.0-cs, 1.0, 2.0*abs(uv.s-0.5));
color.a = max(b1, b2) * color.a;
gl_FragColor = color;
}
uniform sampler2D baseTexture;
void main(void)
{
vec2 uv = gl_TexCoord[0].st;
vec4 color = texture2D(baseTexture, uv);
//color.rgb *= gl_Color.rgb;
color.a = 1.0;
float dpt = 30;
float pi = 3.141592653589;
float a = 2;
float y = 0.0;
float x = uv.t;
for (float k=1; k < dpt; ++k) {
y += sin(pi * pow(k, a) * x)/pow(k, a);
}
float m = 0.0;
x = uv.s;
for (float k=1; k < dpt; ++k) {
m += sin(pi * pow(k, a) * x)/pow(k, a);
}
y += m;
//y = y/3.0;
y -= floor(y);
color.r = y;
color.g = y;
color.b = y;
gl_FragColor = color;
}


uniform sampler2D baseTexture;
void main(void)
{
vec2 uv = gl_TexCoord[0].st;
vec4 color = texture2D(baseTexture, uv);
color.rgb *= gl_Color.rgb;
float from = 0.9;
color.a *= max(
smoothstep(from, 1.0, 2.0 * abs(uv.s - 0.5)),
smoothstep(from, 1.0, 2.0 * abs(uv.t - 0.5))
);
gl_FragColor = color;
}
cd2 wrote:I am working on a technology mod. This is a steam engine (+boiler) connected to a quarry :
MineYoshi wrote:cd2 wrote:I am working on a technology mod. This is a steam engine (+boiler) connected to a quarry :
Looks to be a great mod!
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)qwertymine3 wrote:
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

Inocudom wrote:
Yes, I built 9 more of these recently.
Don wrote:What is that qwertymine3?
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)Users browsing this forum: Bing [Bot] and 10 guests