Jump to content

convert whole scene to ToFlatShadedMesh


Recommended Posts

Hey guys, I have made a basic scene in blender with some lights and textures.


I have set the shading to FLAT in blender however the scene in babylonjs is smooth, I know for individual meshes I can use the convertToFlatShadedMesh() function but that doesn't seem to work on a scene object. 


My question is, is there a way to make the whole scene use flat shading? I don't want the scene to be smooth shaded and I cant find a way to set this in the scene api.

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.

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.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...