Jump to content

Issue with double-sided, transparent tubemesh


adam
 Share

Recommended Posts

Actually, DOUBLESIDE is  twice the number of vertices than FRONTSIDE or BACKSIDE.

 

I never understood why this "discs" appeared on transparent tubes as the normals are computed with the usual computeNormals() method  :(

 

I know the DOUBLESIDE orientation shouldn't be used with backfaceculling disabled because it causes z-fighting issues  and alpha adds another complexity to sort things (so the "discs" maybe)

 

here is the same with DOUBLESIDE and backfaceculling + alpha : http://www.babylonjs-playground.com/#1A4DON#5

what is probably not the effect you want

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