The colors parameter won't take effect?

when romove the colors parameter ,it works ok,when added it ,draw nothing

Do you have a playground?

sorry, the url is :https://playground.babylonjs.com/#SFW46K#1354

You’re using Color4 with the alpha (4th parameter) as 0. Fixed:

1 Like

Thank you ,i got it

the color value range is 0-1 not 0-255, and the 4th value is the alpha . the range is 0-1 if you set 0 it useless. and you should set light on the scene , if the scene do not have light the model color is black.

1 Like