Search Unity

Water shader

Discussion in 'Getting Started' started by feloque1, Mar 9, 2015.

  1. feloque1

    feloque1

    Joined:
    Jan 20, 2015
    Posts:
    11
    Hello,

    I was using Unity 4 free and now I updated my project to Unity 5.

    When I add the shader for water, WaterProDaytime.prefab, it is not being displayed correctly, but when I duplicate that shader, the water is displayed correctly.

    Please, could you help me?

    Thank you.
     
  2. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,208
    Is it looking incorrect in the game, or just in the editor? None of the water prefabs look right in the editor, it relies on a separate camera to render the reflection, and that doesn't work out so well.
     
  3. feloque1

    feloque1

    Joined:
    Jan 20, 2015
    Posts:
    11
    Hello,

    It is incorrect in the game.

    The strange thing is: if I create a new project the water shader works fine.

    But I need to fix it in my current project.

    Please, any help?
     
  4. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,208
    Did you reimport all the standard assets? if not, that would be the first thing I would try.
     
  5. feloque1

    feloque1

    Joined:
    Jan 20, 2015
    Posts:
    11
    Yes I did but it does not work.