20 lines
595 B
ArmAsm
20 lines
595 B
ArmAsm
|
-- @ 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
|