Jump to content

[SOLVED] Atlas UV issue


Kefniark
 Share

Recommended Posts

Hello o/

Since few days, I have a weird visual artifact that bug me and I cant find if I'm doing something wrong or if it's a BabylonJS issue.

1398753419_ScreenShot2018-07-17at7_20_37PM.thumb.png.fe636b6473e9fec4ce400eaff12141c5.png

This demo show different setup with 5x5 quad next to each other.

https://www.babylonjs-playground.com/#WDLERZ

If I use a simple texture, everything looks fine and I can use seamless textures without trouble.
But at the moment I try to use an atlas and set the UVs, I get weird line between my tiles. And this persist even if I merge all meshes together.

Is there something special in BabylonJS about Uvs that I don't get ? 

Does anyone know where these line come from and how to make them disappear?

Thank you

Link to comment
Share on other sites

Ha ok, I though about that but it was happening with every type of sampling (nearest, trilinear), so I kinda excluded this hypothesis.

Is there any clean way to compensate for it or is it magic value based only?
Even if its less visible, it's still there with really low camera angle

lines.jpg

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...