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

12 lines
389 B
ArmAsm

function normal (shader, t_base, t_second, t_detail)
shader:begin ("model_env_lq","models_scope_nv_2")
: fog (true)
: zb (true,false)
: blend (true,blend.srcalpha,blend.invsrcalpha)
: aref (true,0)
: sorting (2,true)
: distort (true)
shader:sampler ("s_base") :texture (t_base)
shader:sampler ("s_vp2") :texture ("$user$viewport2")
end