|
Post by midniteoil on Oct 16, 2023 19:48:18 GMT
Is it possible to place more than one render texture on a single page? For example, can you overlay a few animated objects on the page at different locations? If so, can someone point me to an example?
|
|
|
Post by echo17 on Oct 17, 2023 12:59:31 GMT
Each page uses a single material. It might be possible to have a material that takes two render textures, but I haven't done that before. Another option is to set up a scene with all the objects you want together, and then render to a single texture. You could also chain the renders, making several scenes render to several render textures, then have all of those textures in a single scene that renders to a final render texture, though that seems overkill. Render textures and materials are not exclusive to EndlessBook, so you might have more luck asking this question in a general unity forum, like discussions.unity.com/
|
|
|
Post by midniteoil on Oct 17, 2023 14:29:16 GMT
Thanks. That's what I suspected. I do have a question though, I created a render texture where I just rotate a cube. How do I get the page material to show up behind it? It's filling all the area outside the texture as black.
|
|
|
Post by echo17 on Oct 18, 2023 13:00:05 GMT
Check out Demo #2, specifically the “Page Views/PageView_05” objects. You’ll see a chess scene set up with a camera and a background attached to the camera.
|
|