Jump to content

Clean a face from its texture


Quadear
 Share

Recommended Posts

Hello,

I'm trying to do something simple on paper : I want a mesh with it's to face textured, but the rest of the mesh intact.

On paper, i would only need to put some UV coordinates on the top face's points, and uvs that invalidates the texture on other faces. But when I do that, the original color of every other face is still altered.

http://www.babylonjs-playground.com/#OTFI8#1

I thought setting uv(0,0) would be enough, but it's not.

Does someone know how to do that please ?

 

Link to comment
Share on other sites

not sure to understand what you try to achieve ... here's a box textured on a single face : http://www.babylonjs-playground.com/#OTFI8#2

(not sure your texture can be downloaded in the PG also)

The same with different colors and textures per face : http://www.babylonjs-playground.com/#OTFI8#3

The vertex color is mixed to the texture color, so if you want to keep the textured face with its original color, just set this color to white.

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