Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 752 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 752 Bytes

This shows the bread and butter for model instancing in Monogame.

It's an incomplete example as much of the other code is fairly dispersed across my main game project, but this shows the important logic and should help get you started.

showcase

It includes support for up to 20 lights (specular/ambient) and fog.

Fog is currently pretty scuffed so I strongly welcome pull requests to get it ironed out!

Note that you will need to create a content pipeline extensions and use the code from InstancedModelProcessor.cs Then, when adding your assets in the content pipeline choose .FBX importer and the InstancedModelProcessor for the processor.