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

20 lines
595 B
ArmAsm
Raw Normal View History

2024-03-17 20:18:03 -04:00
-- @ Version: SCREEN SPACE SHADERS - UPDATE 17
-- @ Description: Blood Decal - 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_wallmark_blood", "effects_wallmark_blood")
: sorting(3, false)
: blend(true, blend.srcalpha, blend.invsrcalpha)
: zb(true, false)
: fog(false)
: wmark(true)
shader:dx10texture ("s_base", t_base)
shader:dx10sampler ("smp_base")
shader:dx10sampler ("smp_rtlinear")
end