Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

grabpass trouble

Discussion in 'Shaders' started by JohnSonLi, Dec 13, 2012.

  1. JohnSonLi

    JohnSonLi

    Joined:
    Apr 15, 2012
    Posts:
    586
    when I used grabpass,
    warning"no subshaders can run on this graphics card "
    And when I delete "grabpass..." it works well....
    what is the wrong...............................????
    is it really the problem of my display card???
    or ....anything else goes wrong?
    I use vertex and fragment shader....

    "Subshader{
    GrabPass{
    "_Screen"
    }

    ..............................."
     
    Last edited: Dec 13, 2012
  2. 1337GameDev

    1337GameDev

    Joined:
    Oct 31, 2011
    Posts:
    54
    I guess I will reply to this since nobody else seems like they are going to....

    The warning means that unity detected that your graphics card doesn't support grabpass (since it worked when you commented it out). Grabpass support is a relatively new feature, but should work on graphics cards after 2003, but some have had problems with some from 2005. I would suggest upgrading to a newer graphics card, and if its a laptop, you will need to upgrade to support grabpass.