Divergent/mods/Boomsticks and Sharpsticks/gamedata/shaders/r3/models_foodbag.s

26 lines
828 B
ArmAsm
Raw Normal View History

2024-03-17 20:18:03 -04:00
function normal (shader, t_base, t_second, t_detail)
shader:begin ("model_distort4glass","particle_hard") -- particle_alphaonly
: sorting (3, true)
: blend (true,blend.srccolor,blend.invsrcalpha)
: aref (true,0)
: zb (true,false)
: fog (false)
: distort (true)
shader: dx10texture ("s_base", t_base)
shader: dx10sampler ("smp_base")
end
function l_special (shader, t_base, t_second, t_detail)
shader:begin ("model_distort4bag","particle_distort")
: sorting (3, true)
: blend (true,blend.srcalpha,blend.one)
: zb (true,false)
: fog (false)
: distort (true)
shader: dx10texture ("s_base", t_base)
--shader: dx10texture ("s_distort", "tgzitems\\trans")
shader: dx10sampler ("smp_box")
end
--blend.srccolor,