   More effect on one target
  Hi for everyone of dear developers!I have got a problem one that i can not get done. I'll explain now, it might take several rows, i guess.I have started to write a base of game, i'm talking about an engine one that will works with shaders, lot of lot shaders. Well then, there can be any situations when there are more object (mesh) with also more shaders. (Yeahh, i've forgot to tell to you guys it' hlsl, but nevermind.) It can be situation where need to use one shader on a piece of/full world (for example it can be a shadowmap) and also can be situation where need to use more shader on one subset. Well, here goes the question, how to mix effectes in that way?   
  At any one time there is only ever a single shader bound to any point on the pipeline. You have two choices:1. Composite multiple shaders into one. This can be done using techniques in effect files, but ultimately your application still only ever sees one shader and one technique. Search for "uber shader"2. Multi-pass. Render the geometry multiple times and composite the results in the frame buffer.Both have their advantages and disadvantages, but you'll have to give more info on what you're doing before anyone here can advise you further.hthJack   