Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Unity_scale removed

Discussion in 'Unity 5 Pre-order Beta' started by Project-Mysh, Oct 30, 2014.

  1. Project-Mysh

    Project-Mysh

    Joined:
    Nov 3, 2013
    Posts:
    223
    When i compile my unity4 windbending shader im getting this replacement:

    Code (CSharp):
    1. // Upgrade NOTE: unity_Scale shader variable was removed; replaced 'unity_Scale' with 'float4(1,1,1,1)'
    2.  
    3. // Upgrade NOTE: unity_Scale shader variable was removed; replaced 'unity_Scale.w' with '1.0'
    How can I get this property in unity 5? Automatically replace it with a "float4(1,1,1,1) is a very weird solution.... it just breaks my shader.