Search Unity

turning shadow casting off with SSE

Discussion in 'Shaders' started by stiltskin, Sep 12, 2012.

  1. stiltskin

    stiltskin

    Joined:
    Feb 27, 2010
    Posts:
    95
    hey folks, I'm making a lit particle shader with SSE (strumpy shader editor) which I have working... almost. The only issue I have is that I can't find a way of telling the shader to not cast shadows. Normally unity does this in the object and not material, but because I'm using it on particles, there is no option for shadows.

    Does anyone know how I can go about this?

    Thanks!
     
  2. Farfarer

    Farfarer

    Joined:
    Aug 17, 2010
    Posts:
    2,249
    If there's a fallback shader, remove it.

    You might have to open the compiled shader and remove it (will be the second to last line saying Fallback "Some Shader or Other" - just delete the line ).
     
  3. stiltskin

    stiltskin

    Joined:
    Feb 27, 2010
    Posts:
    95
    awesome. thank you! I'll give that a try as soon as I get home.
     
  4. stiltskin

    stiltskin

    Joined:
    Feb 27, 2010
    Posts:
    95
    thank you very much! that worked like a charm.