Per-Erik Posted March 23, 2018 Share Posted March 23, 2018 Hi, I'm new here and fairly new to Babylon. I am drawing a circle on a billboard but I can't get rid of the black outline, any suggestions? http://www.babylonjs-playground.com/#FNL6ZB thanks Quote Link to comment Share on other sites More sharing options...
biswazr Posted March 23, 2018 Share Posted March 23, 2018 Hi Per-Erik. You did a minor mistake in your code at advancedTexture.background = '#ffffff00'; hex color code should be 6 character . I have just edited for you http://www.babylonjs-playground.com/#FNL6ZB#1 Quote Link to comment Share on other sites More sharing options...
Per-Erik Posted March 23, 2018 Author Share Posted March 23, 2018 Yeah, tried that but then I get a solid color around it if I change the background: http://www.babylonjs-playground.com/#FNL6ZB#2 Quote Link to comment Share on other sites More sharing options...
Guest Posted March 23, 2018 Share Posted March 23, 2018 Hey i don't see a black outline in your PG Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted March 26, 2018 Share Posted March 26, 2018 Hi @Per-Erik I'm going to assume you're using Microsoft Edge or some other browser which don't support hex colors with alpha (8 characters), you get a solid black background on those as you've experienced. They do however (usually) support rgba http://www.babylonjs-playground.com/#FNL6ZB#10 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.