Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resizing within iframe hides canvas?

Discussion in 'Web' started by atelios, Jun 14, 2019.

  1. atelios

    atelios

    Joined:
    Dec 5, 2017
    Posts:
    26
    https://saas-dev.recreate.nl/configurator/iframe.html

    So a short explanation is what you see on screen is NOT a camera, it is a full screen canvas with a raw image that only takes 1 single frame of a camera that renders the model. So I can't easily compare it to another WebGL application that has an actual camera.

    The problem is that when you resize the window, the canvas disappears and you end up only looking at the skybox.