Reputation: 45
I would like to display 6 sides of cube with texture:
Front, left and top side doesn't display and I have no idea why.
Upvotes: 2
Views: 158
Reputation: 58
Select all faces in edit-mode an press Ctrl + N. Your normals will be recalculated and you can see your model properly.
Upvotes: 2
Reputation:
You need set appropriate RasterizerState (click, click) before drawing your model.
GraphicsDevice.RasterizerState = RasterizerState.CullCounterClockwise;
Using CullCounterClockwise or CullClockwise value depends on how your mesh builded.
Upvotes: 1