
sampler2D envmap;
sampler2D bumpmap;

float4 main(float2 envmapCoords: TEXCOORD0, float2 staticCoords: TEXCOORD1): COLOR
{
	envmapCoords += float2(tex2D(bumpmap, staticCoords)) * 0.45;
	float4 c = tex2D(envmap, envmapCoords);
	return c;
}
