Norway


I am working with application using scene kit. And eveything is working fine until .

I can see correct but after I updated my to iOS the colors of the model .

-(void)applyColor:(SCNNode*)node{
    NSArray *materials = node.geometry.materials;
    for (SCNMaterial *material in materials) {
        material.diffuse.contents = [UIColor purpalColor];
    }
}

iOS 9 and iOS 10:
enter image description here  - so78T - After updating device to iOS 11 3D model color changed

iOS 11:
enter image description here  - B1pYN - After updating device to iOS 11 3D model color changed



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here