Jump to content

BABYLON.GLTF2Export texture horizontally mirrored has no effect


Adrian3D
 Share

Recommended Posts

Hello Babylon community,
 
When using the BABYLON.GLTF2Export feature, I noticed that textures I mirror horizontally (via diffuseTexture.vScale = -1) do not change the glTF export as desired.

Is this a known / accepted limitation or is there a misunderstanding from my side? Also any workaround is appreciated (so far I mirror the texture again manually after exporting them).

Here a playground example to illustrate the problem: http://www.babylonjs-playground.com/#1GXSPK#17
Uncomment line #11 ( = // oStandardMaterialHightlighter.diffuseTexture.vScale = -1;) and compare the export results.

Any help is appreciated (pinning @kcoley as you helped me so greatly last time)

 

Link to comment
Share on other sites

  • Adrian3D changed the title to BABYLON.GLTF2Export texture horizontally mirrored has no effect
  • 2 weeks later...
  • 2 weeks later...

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