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 m0nkeybl1tz · Sep 26, 2014 at 02:03 PM · animationbackgroundmovietexture

Is it practical to use videos as textures for the walls of a room?

I designed an image to be used as the wallpaper for a room in our game, however we recently decided the wallpaper should be animated. The animation part isn't a problem (it's just moving some layers slightly), but I'm wondering what's the best way to get it into Unity. My first thought was to just save them as videos, but I'm worried that playing 4 1080p videos at once might be taxing. My only other thought was importing the layers into Unity separately and animating them there. The problem is it wouldn't give me as much freedom in animating, but I'm wondering what you all think is the best solution.

Thanks!

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by HarshadK · Sep 26, 2014 at 02:07 PM

Running 4 1080p videos is the worst you can do inside a game since playing a single 1080p video is still taxing for some devices. You will surely be restricting your target device configuration if you do so.

Games are all about efficiency and playing videos is certainly gonna give you a major performance hit. It's sometimes better to have a little less quality graphics and a smoother gameplay than otherwise.

So I would suggest to not go with the video method.

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 wrstscrnnm6 · Sep 26, 2014 at 06:05 PM

Yes you can use video as textures but I would avoid it if possible. I have built video streaming apps in unity and apps that play local videos and I can tell you that integrating video won't save you any work. At best you are trading some problems for others. If you do decide to go forward to try it out. Here are some resources:

You if you have some flexibility as to video file formats I would try the built in video texture functionality first.

  • http://docs.unity3d.com/Manual/class-MovieTexture.html

If that doesn't work there are a number of solutions on the asset store that might help.

I have used both of these:

  • https://www.assetstore.unity3d.com/en/#!/content/2546

  • https://www.assetstore.unity3d.com/en/#!/content/2307

They are a little pricy and had their issues (file size vs playback speed, cross platform compatibility, color space bugs etc.) I don't know if they are the best but they did work for our projects needs.

Most of these solutions work by calling out to players on the users system which means that your cross platform compatibility (win vs. mac vs. mobile vs. web) and your machine to machine compatibility (do they have Quicktime installed) will be a factor. Including 4+ 1080p videos in your project will make the build size go way up.

It has been a couple of months since I last did any video in Unity work and there seems to be some new asset store packages available ( https://www.assetstore.unity3d.com/en/#!/search/video%20 )

I hope this was helpful. If you do find any really good solutions you should post back to let us know.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Adding animation clips via script 2 Answers

Unlit Shader with Shadows from point lights. 1 Answer

Shoot 'm up 3D scrolling backgound 0 Answers

Animated Background Best Practice 0 Answers

Can I make animations snap to a frame? 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