![]() Use the FX/Water (simple) Shader in the Material, or tweak one of the provided water Materials ( Daylight Simple Water or Nighttime Simple Water).Attach the WaterSimple script (from Standard Assets/Water/Sources) to the GameObject.The water GameObject should use the Water Layer, which you can set in the Inspector. This should be a flat mesh, oriented horizontally. Simple water requires attaching a script to a plane-like mesh and using the water shader: If you need to use a different Mesh, change it in the Mesh Filter of the water GameObject: Creating water from scratch (Advanced) The Prefab uses an oval-shaped Mesh for the water. Water mode (Simple, Reflective, Refractive) can be set in the Inspector. Fancier water - Daylight Water and Nighttime Water in Pro Standard Assets > Water (this needs some Assets from Standard Assets > Water as well).Simple Daylight Simple Water and Nighttime Simple Water in Standard Assets > Water.Make sure you have the Standard Assets installed: Place one of the existing water Prefabs into your Scene. ![]() Reflective daylight water Reflective/Refractive daylight water Setting up water Separate daylight and nighttime water Prefabs are provided. Unity includes several water Prefabs (including the necessary Shaders, scripts and art Assets) within the Standard Assets packages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |