Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Mirroring a RenderTexture?

Discussion in 'Scripting' started by The MC, Dec 12, 2006.

  1. The MC

    The MC

    Joined:
    Oct 31, 2005
    Posts:
    105
    Ok, sorry if this is stupid, I tried to find something on this, but to no avail. Anyway, is there a way through scripting to mirror a texture - specifically a rendertexture?
    I'm trying to get absolute positions on radar by having two cameras in the same exact location, one pointing up and one pointing down, the only problem is, is that their x and y axes are reversed do to the 'up' vector pointing in two oposite directions. Meaning that the 'up' radar camera maps objects on my right as being to my left.
    Any help would be greatly appreciated, thanks.
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
  3. The MC

    The MC

    Joined:
    Oct 31, 2005
    Posts:
    105
    Joachim, you are god (but I'm sure you get that all the time). Thank you very much for the help. (Thanks for the awesome game engine BTW)
     
  4. bronxbomber92

    bronxbomber92

    Joined:
    Nov 11, 2006
    Posts:
    888
    Is that script for Pro users only? I'm guessing it is, because your accessing OpenGL, which I thought was only enable for the Pro version.
     
  5. Jonathan Czeck

    Jonathan Czeck

    Joined:
    Mar 17, 2005
    Posts:
    1,713
    The GL class is Pro-only, yes.

    -Jon