Jump to content


Photo

Water in unity 5


  • Please log in to reply
4 replies to this topic

#1 clubcaptain

clubcaptain

    Advanced Member

  • Members
  • PipPipPip
  • 1,310 posts

Posted 12 June 2016 - 12:52 AM

Here's a screenshot of my terrain where you can see a grey circle which is supposed to be water but in game mode the water doesn't appear.

 

In the inspector the script "water" is greyed out. Any help in fixing this please.

 

water-script-greyedout_zpsj30y9ykf.jpg


PC specs...

Intel core I7 9700k 3.6 GHZ-Turbo 4.9 GHZ
64 GB Corsair vengeance  LPX DDR4 2400 MHZ
Asus PRIME Z390-P 
Nvidea GeForce RTX 2060 6GB
X box 360 wired controller
Windows 10 PRO NA 64 bit


#2 RobV

RobV

    Advanced Member

  • Members
  • PipPipPip
  • 1,345 posts

Posted 12 June 2016 - 12:12 PM

I believe you need to a apply a texture to it..  look in your textures folder.



#3 johnmeyer

johnmeyer

    Advanced Member

  • Members
  • PipPipPip
  • 590 posts

Posted 12 June 2016 - 10:47 PM

Did you drag the prefab into your terrain I take it

Can't quite make out the position transforms, but I've just started learning with water, I just lowered may terrain to create a deep hole and the dragged the prefab into the hole. Changed the scale and was good to go

Changing the y position obviously raises and loweres the water level, are you sure your water level isn't below the bottom of ya hole?

OGT Simulator Tour Admin

 


#4 clubcaptain

clubcaptain

    Advanced Member

  • Members
  • PipPipPip
  • 1,310 posts

Posted 13 June 2016 - 12:39 AM

Yes, ditto and yes.


PC specs...

Intel core I7 9700k 3.6 GHZ-Turbo 4.9 GHZ
64 GB Corsair vengeance  LPX DDR4 2400 MHZ
Asus PRIME Z390-P 
Nvidea GeForce RTX 2060 6GB
X box 360 wired controller
Windows 10 PRO NA 64 bit


#5 DPRoberts

DPRoberts

    Advanced Member

  • Members
  • PipPipPip
  • 1,610 posts

Posted 13 June 2016 - 01:18 AM

Change your Shader on your WaterPlaneMaterial to FX>>Water

JknLLZL.png






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users