local tex_env0	= "$user$sky0"
local tex_env1	= "$user$sky1"

function normal   (shader, t_base, t_second, t_detail)
	shader:begin	("model_env_lq","model_scope_gauss")
      : 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$scopeui")
--	shader:sampler	("s_env0")		:texture	(tex_env0)   : clamp()
--	shader:sampler	("s_env1")		:texture	(tex_env1)   : clamp()  
end
