I know, allready two posts on this point, but i don't understand why we can't use TextureState (wich is a sampler2d) on the "SetCustomParameter" for fragment shader.
For example, i made a glow effect ( inspiring from the Stencil glow demo) for the ninja, in 2 pass and without copying the entity and witout using the stencil.
I'm sure we can make lots of cool shader effects with this feature
Not sure exactly what you're proposing. If it's the ability to switch textures per renderable, I don't support it. Switching textures is expensive, that's why we sort on them when grouping passes together.