11 lines
417 B
ArmAsm
11 lines
417 B
ArmAsm
|
function normal(shader, t_base, t_second, t_detail)
|
||
|
shader:begin("deffer_model_flat","deffer_base_flat")
|
||
|
: fog (false)
|
||
|
: blend(true, blend.zero, blend.one)
|
||
|
: scopelense(1)
|
||
|
shader:dx10texture("s_base", t_base)
|
||
|
shader:dx10sampler("smp_base")
|
||
|
shader:dx10stencil(true, cmp_func.always, 2, 2, stencil_op.replace, stencil_op.replace, stencil_op.replace)
|
||
|
shader:dx10stencil_ref(2)
|
||
|
end
|