Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Mystisa · Dec 16, 2019 at 06:50 PM · camerashaderwater

Water Shader: Everything broke, but I only changed settings trying to fix it?

Good morning!

I made a water shader by smashing two shader tutorials together. I thought it turned out quite pretty. It makes use of transparency, and the depth function. It was made in LWRP's Shader Graph.

https://i.imgur.com/odS04Ty.png

Then... Something happened? These next few pictures are on the same shader, but different color and scale settings for an 'ocean'. The first one is the editor view. It was late at night, so I gave up and went to bed.

https://i.imgur.com/HxukoTq.png

The next day, I found people were talking about cascades and settings like that to fix it, so I tried. Nothing changed. Then I had a crash, and came back to this:

https://i.imgur.com/1tA27gH.png

If I got too close to it with any camera, this happened:

https://i.imgur.com/Uk3pZcv.png

I updated Unity thinking that might fix it, but now... now everything is like this: https://i.imgur.com/nfLHoQT.png

This last picture I put the 'Lake' material from the first picture on it, thinking making I messed with the 'Ocean' settings too much. But it's horrible too. The worst part is it doesn't matter if its in build, run, or editor, all of it is horrible looking like this.

I didn't change the shader settings outside of scaling and color (which is set per material). When changing the shadow cascade settings didn't work, I reverted them back to normal. Progressive CPU/GPU and Enlighten both have this issue. Making a new directional light did nothing, other than make it dark for a minute (as I deleted, tried, made a new one, and tried again). Changing the light's bias did nothing. Changing the camera's clipping panes did nothing. An older version has the water in the first picture, but still has the issues in all but the last picture. Changing cascades literally did nothing for this issue. No shadows made the awkward shadows dark instead of gone. Generate lighting did nothing. Changing Mixed Lighting settings did nothing. Changing the Mesh renderer lighting settings did nothing (except turn it off when set to Shadows only ;P).

I don't know what else to try, but I would greatly appreciate help as I feel like this is going to affect anything with transparent shaders.

Edit// I copied over the LWRP settings from the semi-working one, now I have this mess:

https://i.imgur.com/rXjb3xF.png

There's three weird shadows. The weird shadow from the terrain and player. The weird shadow from the camera. And the weird brightness on the sides. The middle blue is how it's supposed to look like...

https://i.imgur.com/MRqm8LG.png

More weirdness, this angle from the editor camera vs the play camera from earlier.

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

0 Replies

· Add your reply
  • Sort: 

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

240 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 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 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 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

Creating a cup of water using Unity Pro Water 1 Answer

Glass Stained Bump Disort Particle System Effect Not Seen In Orthographic Camera 1 Answer

Best way to Camera Pick multiple objects and move them together 2 Answers

LineRenderer not showing in certain angles 1 Answer

color Tint camera 5 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