Jump to content

Are vertex colors and materials compatible?


jrdiard
 Share

Recommended Posts

Are vertex colors and materials compatible? I've created a playground based on the custom mesh playground to illustrate the issue:  http://www.babylonjs-playground.com/#VKBJN#160.   If no material is attached, I get an interpolation of the colors over the triangle.   If the material is attached to the mesh in line 42 the triangle is black and it appears to use only the colors of the material.   My ultimate goal is to use a point cloud with vertex colors and a material.

Thanks,

Jess

Edited by jrdiard
Solvved
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...