Texture onto sphere help

I have a couple of square, “seamless” textures that I would like to put around a sphere(ex9 geometry). They fit almost perfectly except for one narrow strip. How does one tweak the texture coordinates to make it fit perfectly (like the ‘on shape’ option for the Sphere(DX9)? Using the texture transform doesn’t work. Do I have to code it into the shader? If so, how hard is it? I’ve been avoiding that so far but I know it’s just a matter of time… ;)

hi,

connect Address (EX9.SamplerState) to Sampler State pin of EX9 node (like DrawFixed).
then Cycle U to 1.

Thank you… I got it working using DrawFixed but I can’t find anything resembling a Sampler State pin on phong or gourand directional. Any ideas?

i found some forum topics:

please try clone EX9.Effect node and

pass P0
    {
        //Wrap0 = U;  // useful when mesh is round like a sphere
        VertexShader = compile vs_1_1 VS();
        PixelShader = compile ps_2_0 PS();
    }

to

pass P0
    {
        Wrap0 = U;  // useful when mesh is round like a sphere
        VertexShader = compile vs_1_1 VS();
        PixelShader = compile ps_2_0 PS();
    }

also GlobalRenderState (EX9) will same result.

Yes!!! Thank you