I am using Monogame
188.8.131.52 on Linux and Blender.
I have exported my model using the "FBX 7.4 Binary" exporter. Here is a render from Blender:
However, when rendered by Monogame, it does not look right:
My render code is very standard (F#)
let model = this.Content.Load<Model> @"Skull" for mesh in model.Meshes do for effect in mesh.Effects do match effect with | :? BasicEffect as effect -> effect.EnableDefaultLighting () effect.TextureEnabled <- true effect.PreferPerPixelLighting <- true effect.World <- Matrix.CreateScale (16.0f) * Matrix.CreateTranslation (Vector3.Up * 32.0f + Vector3.Backward * 128.0f) effect.View <- view effect.Projection <- projection | _ -> () mesh.Draw ()
How should I export models from Blender for use in Monogame?