Hey Chris thanks a lot for this.. I got a problem though I can't figure out why it crashes on me.
I launch your demo and it works fine but when i try to integrate it with my scripts it crashes and say: Error 1513 crash in CreatePlugins, crash in RenderPlugins etc etc
In the beginning I thought it was because of a conflict with shade-c but that had nothing to do with it in the end.
Could it be that my level crashes because I don't load models through script but I already have my own level with models placed in it?