Qt Quick 3D - 自定义材质示例
void MAIN() { METALNESS = 1.0; ROUGHNESS = 0.1; FRESNEL_POWER = 5.0; } void AMBIENT_LIGHT() { DIFFUSE += TOTAL_AMBIENT_COLOR; }
void MAIN() { METALNESS = 1.0; ROUGHNESS = 0.1; FRESNEL_POWER = 5.0; } void AMBIENT_LIGHT() { DIFFUSE += TOTAL_AMBIENT_COLOR; }