• 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 eurosat7 · Feb 18, 2010 at 11:43 AM · browser

BrowserTexture?

I want to use a webpage as a texture. How do I do it?

And is a pro licence required as it is for MovieTexture?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by jashan · Feb 18, 2010 at 12:33 PM

Well, there's quite a few possible ways to do this. One is rendering the Webpage to an image on a Web server and then downloading that image in your game and displaying it. For that, the Pro Version is not required and it would also work with Web players. However, you need a Web server where you can do this, and you need to implement rendering the Web page into an image. For this, see for example Render HTML as an Image (there's a few solutions provided in the different answers so don't get discouraged by the first answer which doesn't have any info on that). Also, it will probably be quite tricky to implement interacting with the page - so it's "look, don't touch". Finally, flash or javascript on the page will most likely be ignored.

For an approach directly integrated into Unity, see bliprob's htmlTexture plugin. For that, however, you will need the Pro license - and as far as I know, as it's based on WebKit and Cocoa, this will only work on the Mac. However, bliprob is considering doing a Windows port for pay.

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 eurosat7 · Feb 18, 2010 at 12:57 PM 0
Share

Thank you for your quick and competent answer! :)

Placing rendered html-pages will not work for me. Unfortuately I must develope under windows and for windows. I cannot understand why they do not integrate a webkit as a texture.

Now I have to think about using another engine. :(

avatar image jashan · Feb 18, 2010 at 03:57 PM 0
Share

You're welcome. I wonder if many game engines support HT$$anonymous$$L-rendering. It's not the kind of thing you usually need for game dev. One likely reason why they don't include this in Unity is because it would either bloat the Web player, or create dependencies on other software-packages. Both not really acceptable. If you're developing for the Web, I don't think there is an alternative at all - and if you create standalones, talk to bliprob, it's probably cheaper than developing it one your own (depending on how much money your time is worth, of course).

avatar image eurosat7 · Feb 23, 2010 at 01:28 PM 0
Share

I wrote him. Let's see if and what he will answer. ;)

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Embed Web Browser into unity 4 Answers

Best Practices, GUI and Browser Zoom, Scaling 0 Answers

Best method; Multiplayer server browser/lobby? 1 Answer

Would it be possible to make an in-browser game? 2 Answers

[FIXED]Application.URL woes 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