Divergent/mods/Screen Space Shaders/gamedata/shaders/r3/effects_rain.s

19 lines
706 B
ArmAsm
Raw Normal View History

2024-03-17 20:18:03 -04:00
-- @ Version: SCREEN SPACE SHADERS - UPDATE 17
-- @ Description: Rain - Shader Config
-- @ Author: https://www.moddb.com/members/ascii1457
-- @ Mod: https://www.moddb.com/mods/stalker-anomaly/addons/screen-space-shaders
function normal(shader, t_base, t_second, t_detail)
shader : begin ("effects_rain","effects_rain")
: zb (true,false)
: blend (true,blend.srcalpha,blend.invsrcalpha)
: aref (true,0)
shader : dx10texture("s_base", "fx\\rain_drop")
shader : dx10texture("s_position", "$user$position")
shader : dx10texture("s_accumulator", "$user$accum")
shader : dx10texture("s_blur_4", "$user$blur_4")
shader : dx10sampler ("smp_rtlinear")
shader : dx10sampler ("smp_nofilter")
end