1texture al_tex; 2sampler2D s1 = sampler_state { 3 texture = <al_tex>; 4}; 5texture tex2; 6sampler2D s2 = sampler_state { 7 texture = <tex2>; 8}; 9 10float4 ps_main(VS_OUTPUT Input) : COLOR0 11{ 12 float4 color = tex2D(s2, frac(Input.TexCoord * 100)); 13 return color * tex2D(s1, Input.TexCoord); 14} 15