stinger_m/shaders/glsl/UnBg.fp
Marisa Kirisame d3b11d1ef2 Oh boy, here comes a big one.
Doomreal development is officially back to life.
Doomreal now depends on Doom Tournament, as it's an add-on for it.
Most of the resources are in place right now, just a couple more things left to add in.
Flak cannon is still incomplete and weapon development will be resumed soon.
There is a main menu now, I hope you like it.
Player classes don't have models assigned yet, so they will look weird.
Overall this is not yet very playable.
2019-08-10 22:15:56 +02:00

10 lines
299 B
GLSL

vec4 ProcessTexel()
{
vec2 coord = vTexCoord.st*4.-vec2(0.,timer*0.1);
coord = fract(coord);
vec3 base = getTexel(coord).rgb;
float dist = pow(distance(vec2(.5),vTexCoord.st)*1.4,.5);
vec3 col = mix(vec3(1.,.9,.7),vec3(0.),min(1.,dist));
col *= 1.-vTexCoord.t*.8;
return vec4(base*col,1.);
}