Wrapping a texture around a "box" mesh gourand directional?

I’ve fed a a “Box” mesh into a GourandDirectional, then assigned it a texture. The texture is tiled on each surface of the box.

Is it possible to “wrap” the texture around the surface of the box?

There’s no pin on the GourandDirectional for an Ex9.SamplerState :(


hei guest,

samplerstate won’t help you with this. you need a mesh that has specific texture-coordinates as you want them. try e.g. the
for a cube with different texture-coordinates.

the samplerstate btw. is only reachable via code inside the shader.