I have added a material to my geometry of SCNNode and now I want to add another material to it and set it to blend mode 'multiply'.
I tried a lot but unable to find a way to do this. If we blend the texture as
material.lightingModel = .physicallyBased
let image = UIImage(named: "1.PNG")
material.multiply.contents = image
material.multiply.contentsTransform = SCNMatrix4MakeScale(10, 10, 0)
material.multiply.wrapT = .repeat
material.multiply.wrapS = .repeat
material.multiply.intensity = 1.0
when set to “ physically based”. The multiply doesn’t work....
any clue what is wrong?
thanks!