18 lines
614 B
ArmAsm
18 lines
614 B
ArmAsm
|
-- @ 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_splash")
|
||
|
: zb (true,false)
|
||
|
: blend (true,blend.srcalpha,blend.invsrcalpha)
|
||
|
: aref (true,0)
|
||
|
|
||
|
shader : dx10texture("s_base", "fx\\rain_splash")
|
||
|
shader : dx10texture("s_rimage", "$user$generic_temp")
|
||
|
|
||
|
|
||
|
shader : dx10sampler ("smp_base")
|
||
|
shader : dx10sampler ("smp_nofilter")
|
||
|
end
|