Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

glsl_no_auto_normalization not working in unity3d 5.6(>5.0) and New solution

Discussion in 'Shaders' started by pollk, May 13, 2017.

  1. pollk

    pollk

    Joined:
    Oct 30, 2015
    Posts:
    1
    hello!
    #pragma glsl_no_auto_normalization not working in unity3d 5.6(>5.0) 。Official documents :Compilation directives that don’t do anything starting with Unity 5.0 and can be safely removed: #pragma glsl, #pragma glsl_no_auto_normalization, #pragma profileoption, #pragma fragmentoption. but please tell me the new solution? or How to achieve the same function?

    thank you very much!