Render camera to a small area of the screen

About Monkey 2 Forums Monkey 2 Programming Help Render camera to a small area of the screen

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Mark Sibly 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14263

    Ethernaut
    Participant

    Hi,

    I’m trying to get the camera to render to a small area on the top left of an image canvas. I’m setting the viewport on both the camera and the image canvas, but it doesn’t work – it still renders to the entire image canvas. Am I doing something wrong? I also tried the same approach on a regular canvas (without rendering to an image), same result.

     

    I didn’t post an issue on Github because I’m not sure I’m doing it correctly…

    P.S. I know I can render to a small texture and draw it in the corner, but I need it to work with a viewport in an image canvas, otherwise I’d need two image canvases…

    #14266

    Mark Sibly
    Keymaster

    Fix coming in next update, along with fix for upside down image!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.