Divergent/mods/Boomsticks and Sharpsticks/gamedata/shaders/r1/models_laserbeam.s

10 lines
324 B
ArmAsm

function normal (shader, t_base, t_second, t_detail)
shader:begin ("models_laserbeam","models_laserbeam")
: fog (false)
: zb (true,false)
: blend (true,blend.srcalpha,blend.one)
: aref (true,0)
: sorting (2, true)
shader:sampler ("s_base") :texture (t_base)
end