Front-/Backside color of extruded path

Hi,

I’m new to babylon.js, and so far I love it.

What I’m currently trying to build is a sheet metal configurator.

First, i create a path and extrude it to get a sheet with edges. Here is a playground: https://playground.babylonjs.com/#X67YCY#1

My question is: How can I only change the color of the top side without changing the bottom color? Or how can I assign one color for the top of the sheet and another one for the bottom?

Any help is much appreciated.

Hi @iwe-7 and welcome from me. You could set the colors directly https://playground.babylonjs.com/#X67YCY#7

2 Likes

Thank you very much for your help @JohnK!
This was what i needed.