Jump to content

Getting right the normals on extruded shape


Recommended Posts


I am not able to get the normals on an extruded surface right.

In this playground http://www.babylonjs-playground.com/#53YWDR try clicking on the extruded shape. The normals on the cap are right. But the normals on the side faces are irregular. Also the reflection of light on the surface is a bit weird. Probably wrong uv. Any ideas on how to fix this? I want to have the normals and  the light reflection behave like it would do on a regular cube created with Mesh.CreateBox


Link to comment
Share on other sites

  • gamefan changed the title to Getting right the normals on extruded shape

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