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
2
Question by runelink · Jun 02, 2014 at 09:34 AM · waterrealtimecubemapreflections

Unity Pro water with a cubemap instead of real time reflections

Is there any way to use the Unity Pro water without the realtime reflections? The Unity Pro water more then doubles the drawcalls in my scene and i don't need the realtime reflections.

Comment
Add comment · Show 5
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 Fornoreason1000 · Jun 02, 2014 at 10:05 AM 0
Share

Cube maps will need to replace the internal reflection parameter in the water4 shader. You will need to edit planar reflection script and know enough shader knowledge to know how to exchange the two.

Yeah for some reason, I'm getting reflections on unity free, though this may sound good, it makes it illegal to release my game, so I'm interested in an answer for this too as I have failed to find a way elsewhere.(google, gems, noon to print tuts). I still want reflection so I just want them legit too.

However the method is probably quite technical for someone new. Probably all sorts of crazy math, here I am thinking yr12 advanced maths would help lol. Well at least the way I'd like it done.

avatar image iwaldrop · Jun 03, 2014 at 04:34 AM 1
Share

You wouldn't need a cubemap, as the Pro shader uses a single texture for reflection and refraction grabbed from a camera that is hidden in the hierarchy view. All you'd need is to take a picture with a static camera, save the texture, and use it ins$$anonymous$$d of the real-time texture that the shader uses. Actually, it should be quite simple to do, and be quite a bit more performant. And because you'd be using a static image, you shouldn't need the associated script either.

avatar image Fornoreason1000 · Jun 03, 2014 at 05:00 AM 1
Share

that's what i've been doing temporarily, the reason i wanted to use a cube map so that the image could adjust based on the Angle. e.g you have a forest on one side and a desert on the other, between them is a river, if a look towards the desert its going to look strange to see tress being reflected in the water, likewise if i saw sand in the water while look at the forest.

avatar image iwaldrop · Jun 03, 2014 at 05:12 AM 0
Share

I see...good point. That does complicate things quite a bit. ;)

avatar image runelink · Jun 03, 2014 at 11:03 AM 0
Share

I still haven't found a way to do this. I'm trying to make water that's seethrough but still has reflections (I don't think refraction is possible without the realtime camera)

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

23 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

Related Questions

Realtime Cubemap Reflections are Oversized. 0 Answers

Moving reflection probes during runtime, is it a good practice? 1 Answer

Realtime cubemap that respects rotation? 0 Answers

how do I make the mesh renderer script create smooth movement in realtime? 0 Answers

Creating Realtime Cubemaps 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