Tokkno

Members
  • Content count

    4
  • Joined

  • Last visited

  1. Tokkno

    Dynamic textures - transparence

    Thank's but i want something more generic. I dont understand why the texture is perfect with a black background and wrong with a transparent background.
  2. Tokkno

    Dynamic textures - transparence

    Thank's I write the code on playground but i can't upload the img src so i give you them separately. img.src didn't work with external image hoster because it's unsecure. I give you the playground and the image. Playground URL : https://www.babylonjs-playground.com/#WRNZ81#4 img URL : https://image.ibb.co/nr4VMo/10.png Thank's for your time. index.html
  3. Tokkno

    Dynamic textures - transparence

    Hello, Thank's for the answer, i tried it but my problem still there. I want the alpha around the circle but i still have the complete circle... Have you a solution ? Thank's
  4. Hello, I'm new in babylonjs and i develop a game viewer with server (with socket.io). But for few days, i have a problem. I use dynamic textures for my textures because i want to modify textures without recreating them. I can't use playground because my code depend of a server and nothing will appear in playground without the server. I will take screen and i have a little idea of the source of problem. When i use texture.clear(), i have the texture that i want but with a black background (i want a transparent background). When i don't use texture.clear, the background is transparent but the image is not perfect. Thank's for your attention Ps: Sorry for language mistakes, i'm french.