Combining shaders

1- is it possible to concatenate different shaders into a single shader?
2- will that improve (reasonably) the overall performance of a patch, instead of a long chain of renderer-dx texture-quad-renderer-etc ?

I use a Cons node…

or look at the multiple techniques of shaders such as blend (photoshop filters one that lurks somewhere)


this depends massively on the shaders you want to combine. basically it is possible.

e.g. Cel (EX9.Effect) uses 2 ( or even 3) passes with different pixel shaders.
but it is not possible to process the result of one pixelshader inside anotherone without rendering inbetween