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

12 lines
389 B
ArmAsm
Raw Permalink Normal View History

2024-03-17 20:18:03 -04:00
function normal (shader, t_base, t_second, t_detail)
shader:begin ("model_env_lq","models_scope_nv_1")
: 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