Jump to content

Dynamic texture not displaying correct


Flomotion
 Share

Recommended Posts

Hey all,

I'm adding a dynamic texture to my imported model so I can have multiple layers in the diffuseTexture.

This works good on a plane that I create in BJS. But when I apply the dynamic texture to the imported model it looks strange. As if only the top row of pixels is used or something.. (see attached image)

When I place the same image texture on both models, everything looks as it should. I tried to recreate this issue in a playground. But since I can't load my own model in there I used the rabbit model.

http://www.babylonjs-playground.com/#38BSEG

But.. this seems to be working correctly. Is there a way to import my model into a playground? Or does anyone have an idea what's happening with my imported model?

thanks

 

Floris

dyntex.jpg

Link to comment
Share on other sites

Hi, thanks for your reply. The UV on my model is correct however. That's why I added the other image on the right where I placed and image in the diffuseTexture channel. It looks good there. And when I change the image to the dynamic texture, it looks wrong.

Or is there a way to rotate the uv channel with code?

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