Added New Mods and Profiles Folders

This is a complete rebuild of the modpack, with all new mods and updates for 1.5.3 of Anomaly.
This commit is contained in:
2025-01-14 05:07:53 -05:00
parent 85c665b107
commit 376b4b9689
21217 changed files with 546254 additions and 0 deletions
@@ -0,0 +1,28 @@
#define MARK_ADJUST 1
uniform float4 markswitch_current;
uniform float4 markswitch_count;
int mark_sides()
{
int sides = 1;
while (sides * sides < int(markswitch_count.x))
{
sides += 1;
}
return sides;
}
float2 mark_adjust(float2 pos)
{
int sides = mark_sides();
float d_x = int(markswitch_current.x) % sides;
float d_y = int(markswitch_current.x) / sides;
float p_x = clamp(d_x + pos.x, d_x, d_x + 1) / sides;
float p_y = clamp(d_y + pos.y, d_y, d_y + 1) / sides;
return float2(p_x, p_y);
}
@@ -0,0 +1,29 @@
#include "common.h"
#include "mark_adjust.h"
uniform float4 m_hud_params;
float resize(float input, float factor, float offset)
{
return (input - 0.5 + offset) / factor + 0.5 - offset;
}
float4 main (p_flat I, float4 pos2d: SV_Position, float2 tc0: TEXCOORD0): SV_Target
{
float factor = screen_res.y / 2160.0;
factor = factor * (1.0 / (m_hud_params.z / 0.45)) * 0.75;
float size = 512.0 * factor;
pos2d.x = pos2d.x - (screen_res.x - size) / 2.0;
pos2d.y = pos2d.y - (screen_res.y - size) / 2.0;
pos2d.x = resize(pos2d.x, factor, 0);
pos2d.y = resize(pos2d.y, factor, 0);
#ifdef MARK_ADJUST
pos2d.xy = mark_adjust(pos2d.xy / 512.0) * 512.0 * mark_sides();
#endif
float4 color = s_base.Load(pos2d.xyz, 0) * m_hud_params.x;
return color;
}
@@ -0,0 +1,11 @@
function normal (shader, t_base, t_second, t_detail)
shader:begin ("model_def_lplanes","models_lfo_light_dot_weapons")
: fog (true)
: zb (true,false)
: blend (true,blend.srcalpha,blend.one)
: aref (true,0)
: sorting (2,true)
: distort (true)
shader:dx10texture ("s_base", t_base)
shader:dx10texture ("s_tonemap", "$user$tonemap")
end