Search Unity

[Unity5] NFAA Errors when publishing

Discussion in 'General Graphics' started by topofsteel, Mar 6, 2015.

  1. topofsteel

    topofsteel

    Joined:
    Dec 2, 2011
    Posts:
    999
    When I publish, I get the attached errors from the NFAA shader. It's what came in from the effects standard package. And i'm using FXAA3. It builds ok, but what is causing the errors?
     

    Attached Files:

  2. oglepole

    oglepole

    Joined:
    Jan 25, 2014
    Posts:
    17
    Getting the same error as well - would be curious as to the answer!
     
  3. topofsteel

    topofsteel

    Joined:
    Dec 2, 2011
    Posts:
    999
    I'm guessing your using deferred rendering? Turn AA off in the quality settings.
     
  4. SkermunkelStudios

    SkermunkelStudios

    Joined:
    Dec 29, 2012
    Posts:
    156
    You can fix this by adding:

    #pragma target 3.0

    to the end of the CGProgram declarations