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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    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.