Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

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.