- Minimize HUD when looking through cameras (toggleable). - Hide precise crosshair when looking through cameras. - Add alternative, lighter Ragekit shader for people who may have issues. - Small changes to options menu layout. - Merged vanilla boss / healthbar handler into main one. - Fix: Silver Bullet didn't draw scope with shaders disabled. - Fix: Incorrect behavior of SWWMUtility.InPlayerFOV() caused everything to always be visible. - Fix: Trackers didn't account for Teammates in TDM. - Fix: Trackers update based on distance to consoleplayer camera, not mo.
20 lines
614 B
GLSL
20 lines
614 B
GLSL
void main()
|
|
{
|
|
vec2 uv = TexCoord;
|
|
vec2 bresl = textureSize(InputTexture,0);
|
|
vec2 sr = vec2(1.0,bresl.y/bresl.x);
|
|
vec2 flood = texture(WarpTex,uv*sr+vec2(timer*.02,-timer*.04)).xy;
|
|
flood += texture(WarpTex,uv*sr*2.+vec2(-timer*.07,-timer*.13)).xy;
|
|
flood += texture(WarpTex,uv*sr*.5+vec2(0.,-timer*.06)).xy;
|
|
flood /= 3.;
|
|
vec3 col = texture(InputTexture,uv).rgb*3.;
|
|
for ( int i=0; i<3; i++ )
|
|
{
|
|
uv = (uv*.985)+.005;
|
|
uv += (flood-.5)*.005;
|
|
col += texture(InputTexture,uv).rgb;
|
|
}
|
|
col.rgb /= 5.;
|
|
col.rgb = pow(max(col.rgb,vec3(0.)),vec3(1.2,1.15,.77))*vec3(1.03,1.32,.98);
|
|
FragColor = vec4(col,1.);
|
|
}
|