examples/data/ex_prim_wrap_pixel.hlsl
raw| 1 | texture al_tex; |
| 2 | sampler2D s1 : register(s0) = sampler_state { |
| 3 | texture = <al_tex>; |
| 4 | }; |
| 5 | texture tex2; |
| 6 | sampler2D s2 : register(s1) = sampler_state { |
| 7 | texture = <tex2>; |
| 8 | }; |
| 9 | |
| 10 | float4 ps_main(VS_OUTPUT Input) : COLOR0 |
| 11 | { |
| 12 | return tex2D(s1, Input.TexCoord) * tex2D(s2, Input.TexCoord); |
| 13 | } |