Qt Quick 3D - Custom Materials Example

 void MAIN()
 {
     SPECULAR_AMOUNT = uSpecular;
     BASE_COLOR = uDiffuse;
 }