Hi all,
I'm trying to convert the skinned model example (downloaded from this site) from forward rendering to deferred rendering to integrate it in our engine.
When I run I get the following error:
System.Exception was unhandled Message="Deferred rendering does not support non-deferred effects. Make sure effects derive from IDeferredObjectEffect and model processors are set to a deferred processor."
Any one any idea where to start? I looked at the API documentation but can't find any example of implementing the IDeferredObjectEffect.
Kind regards,
Wim
In the Pipeline, SkinModelProcessor.cs Line 109
change
ModelContent model = context.Convert<NodeContent, ModelContent>(input, "LightingSystemModelProcessor");
to
ModelContent model = context.Convert<NodeContent, ModelContent>(input, "DeferredLightingSystemModelProcessor");
Thanks you Nelxon, your guide did solve my problem.
No problem, glad I could help :)