• Content Count

  • Joined

  • Last visited

  1. Thank you so much! The 2 clamping lines you added actually fixed the problem. topbar_material.diffuseTexture.wrapU = BABYLON.Texture.CLAMP_ADDRESSMODE; topbar_material.diffuseTexture.wrapV = BABYLON.Texture.CLAMP_ADDRESSMODE; Jfyi here is a zoomed pic showing the problem without the clamping:
  2. Hello. When I try to use png with transparency it has a very thin line where the image ends. You can see in the following example the texture has a thin grey line on the bottom side but the actual png image is completely transparent at these pixels. It might not be visible at first glance, but make the viewport of the Playground bigger and you should notice it. The line shows up on both chrome and firefox but is more visible with chrome.
  3. Hi. How to properly update text when I'm using texture with transparent background. Because drawText doesn't clear the previous text and just paints the new text on top. Here is the code: