Quantcast
Channel: Babylon.js
Viewing all articles
Browse latest Browse all 388

Mesh part smooth part flat shading

$
0
0

Hi!

 

I'm trying to figure out how to set part of the mesh shading as smooth and part of it as flat.

 

A quick sample on an image bellow rendered with Blender (from left to right):

  • Mesh with smooth shading
  • Mesh with flat shading
  • Mesh with mixed shading (achieved with edge split modifier)

Ideally shading type could be set per vertex group or per material.

Attached Thumbnails

  • flathsmooth.png

Viewing all articles
Browse latest Browse all 388

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>