Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 Zitoox · Oct 21, 2016 at 03:01 PM · watereffectunderwater

Make a water effect

Hi! Can someone PLEASE help me in this? Seriously, i am almost begging someone to help me because this is going to make me crazy! I have a pool in my game, and i wanted to make a water effect when the player is underwater.

It's a water plane. I just want to make something like... the screen goes to a mix of blue and green, so the player really feel that he is underwater. Obviously i want him to see too, so it can't be just paint the screen. Can someone help me? I tried everything that i know, and a lot of people tried to help me too but nothing works! Here is some images of my "pool".

alt text alt text

Let me explain what i've tried:

I have tried aq doubleface script, and it didn't worked. I tried a script that changes the color when you are in a certain place, and it doesn't work. I tried to make an image appear when you are in the water, but it ALSO didn't work. I can post the scripts as comments if you want. PLEASE HELP ME =C

pooloutside.png (475.4 kB)
poolinside.png (385.6 kB)
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
0
Best Answer

Answer by Metorphium · Oct 21, 2016 at 04:15 PM

Well, i guess a simple Method for this could go something like that:

  • Make a transparent Image of your desired effect (as you stated a mix of blue & green)

  • Put the Image onto your screen as an UI Image and set it to inactive.

  • Make a Box Collider set to trigger in the Underwater area.

  • Script if the Player is underwater (the Boxcollider) that the UI Image you made earlier goes active else the Image is inactive

Comment
Add comment · Show 3 · 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 Zitoox · Oct 21, 2016 at 04:55 PM 0
Share

I thought that this could be possible, but i don't know exactly how to make the image only a little transparent. Do you know how to make that?

avatar image Metorphium Zitoox · Oct 22, 2016 at 12:31 PM 0
Share

Heres a little example i made realquick for you to use.

http://imgur.com/uDL9OoG

avatar image Zitoox Metorphium · Oct 22, 2016 at 08:52 PM 0
Share

The website was "under maintance" or something, so i couldn't see it. Anyway, i was just testing some things to see if it works and indeed it did! I already tried that in the past but i thought that it wouldn't work because i had a problem, but i did it right this time. Thanks!

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

60 People are following this question.

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

Related Questions

Subnautica like underwater effect / rays 0 Answers

need water 1 Answer

Underwater effect when entering down a slope 1 Answer

underwater effect 2 Answers

Caustic underwater effect 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