Forum

Sphere(ex9)

Describes how the sphere(ex9) doesnt wrap textures correctly, seeing as its a primitive, it should have the correct texture wrapping by default shouldn’t it?

i am afraid this is the correct behavior. the reason why Sphere (DX9) draws the texture correctly is, because its drawing code knows that it is drawing a sphere and sets the texturewrapping correctly internally.

the Sphere (EX9) is a generic mesh being drawn by a generic effect which knows nothing about the spherical nature of the attached mesh. this is why you have to set the texture-wrapping manually in the shader-code to achieve the desired effect.