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

13 lines
441 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_def_lplanes","model_scope_lense")
: fog (true)
: zb (true,false)
: blend (true,blend.srcalpha,blend.invsrcalpha)
: aref (true,0)
: sorting (2,true)
: distort (true)
shader:dx10texture ("s_base", t_base)
shader:dx10texture ("s_vp2", "$user$viewport2")
shader:dx10sampler ("smp_base")
end