Hello,
I was adding and trying to test a new texture on the 2d deferred starter kit project, but no matter what, I always get this exception:
"Deferred rendering does not support non-deferred effects (SceneObject ''). Make sure effects derive from IDeferredObjectEffect or model processors are set to a deferred processor."
I find that weird because the effect is deferred (it's a BaseRenderableEffect .mat).
To see if I wasn't doing anything stupid, I tried these:
1. Checked if anything is wrong with the texture files:I opened in the editor the pipes material, and replaced its texture with the ones I made. No errors with the pipes material when I build it again.
2. Checked if the material file was wrong:I copied the pipes.mat code into my new material. The same error occurred.
3. I tried moving my material to the examples folder (I know it sounds stupid, but a t this point nothing seems logic). Nope.
4 I duplicated the pipes material (= pipes2.mat) and made it load this material instead. Then the error happens.
Verdict: It's not allowing me to create any new material at all. Does anyone have a clue on this?
What content processor are you using for the textures?
Oh damn, now it makes sense, it wasn't the deferred content processor (just found it at the material files properties) -_-"thank you