Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 soulburner · Apr 08, 2012 at 10:48 PM · 2dshaderwatereffect

2D water shader effect

I want to make some water effect in my isometric sprite game. I like the one on the video: http://www.youtube.com/watch?v=yIvR14_IcD0

Any suggestions? Or, at least any keywords on mathematical algorythm will be appreciated.

PS: No reflections needed.

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Lttldude · Apr 09, 2012 at 02:03 AM

I think you should be able to do that effect with a couple 2d planes with textures. Have one for the base water (dark blue/light blue for coast). And animating 2d textures that are transparent to lay on top of the water texture. It looks like only the water waves are being animated, and they are definitely looping. You should be able to use the same sprite animation for all the water by just duplicating and starting aniamtion at a different frame.

Links: Look into the animating smoke section (it's for particles but same concept I believe): http://forestjohnson.blogspot.com/2007/12/particle-effects-tutorial.html

http://www.unifycommunity.com/wiki/index.php?title=Animating_Tiled_texture

Hope this makes sense. Good Luck.

Comment
Add comment · Show 2 · 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 soulburner · Apr 09, 2012 at 09:41 AM 1
Share

Sorry, but your answer can be simplified to "just make an animated texture" and that's not helpful :)

First of all, I'm not sure that the caustics on the video made with an animated texture. Is it possible to make these with mathematical run-time calculations (like plasma effect)?

And if it is made by anmating a texture - then the main question would be "what software can generate such animated water texture".

avatar image Hoeloe · Sep 04, 2013 at 10:58 AM 0
Share

The caustics on the video are definitely an animated texture. It is possible to do at run-time, but expensive, and in general you're better off with animated textures, if you don't need real-time lighting and reflection effects. There are a few caustic generating programs you can find, just a quick google will find several.

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.

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

How to detect collision with shaders? 0 Answers

Reflective/refractive 2D material, like static water. 0 Answers

Help with Liquid Physics2D 0 Answers

angrybot water shader lagging problem 0 Answers

Puddle reflection effect 2 Answers


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