12 lines
389 B
ArmAsm
12 lines
389 B
ArmAsm
|
function normal (shader, t_base, t_second, t_detail)
|
||
|
shader:begin ("model_env_lq","model_scope_lense")
|
||
|
: 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
|