• Content Count

  • Joined

  • Last visited

  1. Chimpana

    Screenshot not including 2D layer

    Thanks Delta – I'll play around with dynamic textures...
  2. Hello, I'm having some trouble getting a 2D layer included in CreateScreenshotUsingRenderTarget. CreateScreenshot includes a BABYLON.Layer background texture when a screenshot is created, however CreateScreenshotUsingRenderTarget leaves it as transparent. Is there a way to get the background to draw for CreateScreenshotUsingRenderTarget? I've created a playground to demonstrate: Thanks!
  3. Hello, How would I go about aligning an object to a another object's texture UV orientation? The only solution I can think of is that we perform a pick, calculate the V coordinate of the pick + 0.1 (to find the texture's orientation), convert the UV position to a 3D position, and then point the object towards it, thus aligning it. Is there a simpler way to do this? Thanks!