20 lines
606 B
ArmAsm
20 lines
606 B
ArmAsm
function normal (shader, t_base, t_second, t_detail)
|
|
shader:begin ("deffer_model_flat","deffer_base_flat")
|
|
: fog (false)
|
|
: emissive (true)
|
|
shader:sampler ("s_base") :texture (t_base)
|
|
-- : color_write_enable( true, true, true, false)
|
|
end
|
|
|
|
function l_special (shader, t_base, t_second, t_detail)
|
|
-- shader:begin ("shadow_direct_model", "accum_emissivel")
|
|
shader:begin ("deffer_model_flat", "accum_emissive_glowo")
|
|
: zb (true,false)
|
|
: fog (false)
|
|
: emissive (true)
|
|
|
|
shader:sampler ("s_base") :texture (t_base)
|
|
|
|
-- : color_write_enable( true, true, true, false)
|
|
end
|