Some letterbox 3d

About Monkey 2 Forums Monkey 2 Programming Help Some letterbox 3d

This topic contains 2 replies, has 2 voices, and was last updated by  Mark Sibly 1 year, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13195

    Mark Sibly
    Keymaster
    #13196

    Ethernaut
    Participant

    This will render stretched…

    #13197

    Mark Sibly
    Keymaster

    Add a ‘_camera.Viewport=Rect’ just after you create camera.

    Or better yet, use ‘_camera.View=Self’ instead as this will be able to handle resizable  views too.

    Cameras currently draw to the entire canvas viewport regardless of what camera viewport is set to (but DO use the camera viewport to calculate projection matrix based on FOV) – this may change when I start messing around with multiple cameras, child views etc.

    For now, safest thing to do is to attach view to camera.

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

You must be logged in to reply to this topic.