|
Post by sheyne on Nov 7, 2022 14:22:29 GMT
Hello there, I'd like to create a custom wiki on my website, and to display the content of this web page in unity in the book.
I know how to do http requests from unity to get the page source code, however since you are using render textures and not html nor text mesh pro to display the content on the book, I am wondering how to proceed. Have you heard of someone that made that, or have an exemple of how to achieve this ? I saw somewhere that I may be able to use unity webview, and then I suppose I could display that in a UI in unity and render the UI with a camera attached to a render texture but webview seems incompatible with windows.
Thanks for any answer
|
|
|
Post by echo17 on Nov 8, 2022 11:18:52 GMT
I don't have any experience with displaying web content, but if you know how to set up a scene to do that, then it would be pretty simple to integrate into EndlessBook. You can use html and text mesh pro in your scene to set up the website display. Your scene's camera just needs to render to a texture instead of the screen. Then your book material can use that render texture. So you'd have one camera for the website rendering and a different camera to show the book.
|
|