render in front of 2D sprite - Unity 4.3

Hi,

I am trying to make a shader which renders in front of all 2D sprites (no matter what layer the sprites are in). I haven’t found a way to do this yet - does anyone have any ideas?

Best,
Simon Millard

You can set up the default layer to be ahead of the layers your sprites are on.

or try this:

var RenderAmount : int = 3000;

function Start () {
renderer.material.renderQueue = RenderAmount;
}