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 Jaaaboo · Mar 11, 2014 at 08:37 PM · shadertexture3dwaterquality

Unity - Simple Water

Is there any FREE way to get the water shader/texture look better? now it looks like minecraft and it has no transperency at all.

iwe seen videos with folks having awsome water textures but they never said anything about it so i dont know where they got it.

Comment
Add comment · Show 1
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 william9518 · Mar 11, 2014 at 08:54 PM 0
Share

Those awesome water textures are probably from Unity Pro. One way you could try is coding your own water shader.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by xSmurfKasketter · Mar 11, 2014 at 10:15 PM

If you want to experiment there are some who have gotten decent, not great but decent results by using one of the default transparent shaders and for example a snowflake or something similar as a texture.

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 getyour411 · Mar 11, 2014 at 10:19 PM

https://www.youtube.com/watch?v=kPQJTml1eJs

Personally I think the free water is fine. "Transparency" in most water is a fallacy, especially uniformly.

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 AlucardJay · Mar 12, 2014 at 03:31 AM

Edit :

It was also brought to my attention this method doesn't render anything behind the water, I have modified the answer to hopefully fix this.

solution is: at line 58-59 of the FX-Water Simple shader, after

 // -----------------------------------------------------------
 // Fragment program

replace :

 Subshader {
     Tags { "RenderType"="Opaque" }
     Pass {

with :

 Subshader {
     Tags { "Queue"="Transparent" "RenderType" = "Transparent" }
     Blend SrcAlpha OneMinusSrcAlpha
     ColorMask RGB
     Pass {

=========================================================================================

original answer

You can make the free water transparent by modifying the FX-Water Simple shader : http://forum.unity3d.com/threads/46991-Transparent-Water

solution is: at line 58-59 of the FX-Water Simple shader, after

 // -----------------------------------------------------------
 // Fragment program


Comment by TechnicalPirate :

replace :

 //Subshader {
 //    Tags { "RenderType"="Opaque" }
 //    Pass {

with :

 Subshader {
     Tags { "RenderType" = "Transparent" }
     Blend SrcAlpha OneMinusSrcAlpha
     ColorMask RGB
     Pass {
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 Hirk · Mar 22, 2014 at 04:13 PM 0
Share

I created a copy of the FX-Water(Simple) and replaced the Code like discribed above.

On my Computer Transparenz works fine in 3ds $$anonymous$$AX and Unreal Engine 3. But in UNITY Transparenz makes Objects invisibly at all. I tried out different Gradients and Grid Pattern in my Alpha but my Waterplane looks like deleted. How can I use an Alpha for 50% Opacity, not just ON or OFF? And who needs absolut transparent $$anonymous$$aterial?

avatar image AlucardJay · Mar 28, 2014 at 07:41 AM 0
Share

Don't forget to modify the alpha value in the material, (see my answer here). It was also brought to my attention this method doesn't render anything behind the water, I have modified the answer to hopefully fix this, basically change the Tags line to :

 Tags { "Queue"="Transparent" "RenderType" = "Transparent" }


avatar image AlucardJay · Mar 28, 2014 at 08:15 AM 0
Share

Another reference link I had bookmarked and forgot about :

  • http://kostiantyn-dvornik.blogspot.com.au/2013/05/unity-worlds-coolest-tutorial-about.html

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

24 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

Related Questions

Need help with URP Lit Shader 1 Answer

Animate Toon Water on Plane? 0 Answers

Fog effect on shader 0 Answers

Reveal texture at position 0 Answers

Boat wake/foam 0 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