• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Triunity · Jul 19, 2015 at 04:42 PM · terrainwaterocean

Best method to make an Ocean?

Hello,

I am new to Unity and am trying to think of the best method to create an ocean for my game.

I have created a plane for the ocean floor but am unsure what to do for the sea. I thought about creating another equal sized plane on top of it but my water needs to be more than just a mesh as I'll be having things like AI sharks and fish swimming in it.

Since the ocean is a fundamental part of my game I cannot progress with other parts of the game until my ocean is made. So any help is greatly appreciated!

Other problems I have:

1) I would prefer my scene to be circular rather than squared but don't know how to make my ocean floor plane circle shaped.

2) When I apply a texture to my plane it does not blend as It shows a square grid for every 10 units. I did a google search and someone suggested to untick the mesh renderer but if I do that the material/texture disappears.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by J_Troher · Jun 10, 2016 at 05:56 AM

Yeah its an old thread but I just found this and the ocean is awesome I love it. My only question is how you could do collision with it, so I can make my boat float on it and pivot against the water and such.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by NathanJSmith · Sep 03, 2018 at 02:54 PM

Can't say anything "best", because there is always a better way. Beside, "best" depends on your purpose: best for performance or best for visual or best for simplicity?

I created an ocean implementation that I think better for performance & simplicity than the Unity's default ocean (which is in the Unity's Environment Asset).

I call this: Terrain Ocean.

Step 1: Create a 3D terrain, name it: OceanTerrain

Step 2: Remove Terrain Collider of OceanTerrain.

Step 3: Assign the "Water4Advanced" material (You can get this material from the Unity's Environment Asset) for OceanTerrain

My Unity Ocean

And Here is the result: Unity Ocean Result

It's better for performance & simplicity than the Unity's default ocean (which is in the Unity's Environment Asset) because:

  • My ocean doesn't run any script while the Unity's default ocean run several scripts to create reflection, and some other effects.

  • You have to scale or use multiple Unity's default oceans because the Unity's default ocean is not big enough. My ocean is terrain so you can easily set the ocean as big as you want, and terrain can be very big.


unityocean.png (132.8 kB)
unityoceanresult.png (143.3 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Flowing water in my voxel terrain 1 Answer

Realistic ocean in unity free 0 Answers

How do i make floating ship ? 0 Answers

How to remove the water fuzz 2 Answers

Terrain & Water won't render to game view 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges