function normal (shader, t_base, t_second, t_detail) shader:begin ("pda_overlay","pda_overlay") : fog (true) : zb (true,false) : blend (true,blend.srcalpha,blend.invsrcalpha) : aref (true,0) : sorting (2,true) : distort (true) shader:dx10texture ("s_base", t_base) shader:dx10texture ("s_pdascreen", "$user$ui") shader:dx10texture ("s_hud_rain", "fx\\hud_rain") shader:dx10sampler ("smp_base") end