Jump to content

Unwanted border around texture with alpha


Janx
 Share

Recommended Posts

Hi,

I want to use textures with contain areas which zero alpha. However I see unwanted borders around them. Here is a playground to clarify my problem: http://www.babylonjs-playground.com/#AN5WBF#3

Am I doing something wrong? How can I get rid of the border?

Edit: Here is the same problem, with a different texture: http://www.babylonjs-playground.com/#AN5WBF#4

Many thanks,
Cheers,
jan

Link to comment
Share on other sites

Hi guys!  Also, you may wish to add the clamps... to the opacityTexture and emissiveTexture channels, too.

http://www.babylonjs-playground.com/#AN5WBF#6

Lines 50-54. 

There is some kind of border dispute between the Babylonians and the Epsilonians.  One of those countries talked of building a wall on the border, but it was deemed "inini".  (infeasible'n'implausible'n'impractical)  :D  (okay, okay, I don't have the BEST comedy writers, but my guys work cheap).

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...