stinger_m/shaders/glsl/95Bg.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

12 lines
368 B
GLSL

vec4 ProcessTexel()
{
const vec3 col0 = vec3(.0625,.5,1.);
const vec3 col1 = vec3(.5,.0625,.375);
vec2 coord = vTexCoord.st+vec2(timer*0.02,0.);
coord = fract(coord);
float base = getTexel(coord).x;
double dist = abs(vTexCoord.s-.5)*2.;
vec3 col = mix(col0,col1,vec3(min(1.,dist*1.3)));
col = mix(col,vec3(0.),vec3(min(1.,dist)));
return vec4(base*col,1.);
}