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 Jessi · Mar 03, 2010 at 10:26 PM · terrainpaintanimated-texture

Is it possible to paint an animated texture onto a terrain?

I love the underwater effect seen here: http://forum.unity3d.com/viewtopic.php?t=43733&postdays=0&postorder=asc&start=0. But I'm still too new to Unity to figure out how it works.

I thought I'd start with something more simple (I think) by painting an animated texture on the ocean floor rather then having it projected from a camera. Is that even possible?

Any tips would be greatly appreciated!

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

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Jaap Kreijkamp · Mar 04, 2010 at 12:04 AM

Unity terrain engine doesn't support 'decals' so, unless you're very good in shader programming I don't think you can. A way to fake it more or less would be to convert the terrain to a mesh, extracting the part of the mesh that needs the decal/underwater texture and place this over the terrain with the right texture and shader offset modified to be painted above the floor.

Using a projector would probably be the simplest solution, besides making the right texture for the projector it isn't much more difficult than placing a camera. The only thing to watch is having stuff in the right layers, you probably don't want the texture be projected on the water surface so the water should be in a layer excluded from the projector.

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 user-1431 (google) · Mar 04, 2010 at 12:40 AM

why dont you bring in an object already painted how you want it

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 danielsig.du · May 05, 2010 at 11:29 AM

hey, u can also add

"IgnoreProjector" = "true"

to the water shader instead of ignoring layers ^_^

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 JonManatee · Aug 11, 2010 at 04:14 PM

I would point out that the splat maps are accessible in the Project view, which means that there is some possibility of modifying those splats directly to cause texture animation. The downside is that it is likely that the texture may have to be a Texture2D, meaning that replacing it with a Render Texture would not be possible. Working with a Texture2D will hav e much higher CPU overhead as I found when I tried a similar trick with the Light Maps so that I could have Light Mapped day/night cycles.

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

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

No one has followed this question yet.

Related Questions

Terrain Brush Problem 0 Answers

grass paints in circles on terrain 2 Answers

Can't paint trees or details 0 Answers

Cannot place trees on terrain 0 Answers

Is it possible to do this for a random terrain approach? 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