Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
agentleo's avatar
agentleo
Honored Guest
12 years ago

RenderTexture Question

I am fairly new to working with RenderTextures in Unity3d and can't seem to for life of me figure this out. I am currently using Scaleform to render my projects menu ,and UI content. I have the content rendering correctly using method OvrMainMenu uses , but I need to render the content further back as it currently in blind spot in between the two cameras. Is their an easy way to accomplish this?

2 Replies

Replies have been turned off for this discussion
  • "agentleo" wrote:
    I am fairly new to working with RenderTextures in Unity3d and can't seem to for life of me figure this out. I am currently using Scaleform to render my projects menu ,and UI content. I have the content rendering correctly using method OvrMainMenu uses , but I need to render the content further back as it currently in blind spot in between the two cameras. Is their an easy way to accomplish this?


    There's a step by step written here https://developer.oculusvr.com/forums/viewtopic.php?f=37&t=3258#p47096 that might help.
  • Thanks but the methods are simliar but not the same. OvrMenu instantante a plane to draw ui, to where as you are setting everything up in the editor which, is not ideal. I think I have figured out my issue though. I think in my code I am forgetting to set the plane rendertexture.active prior to drawing.