They had a nice hue of grey-blue before. Now they're black and white.
What am I doing wrong?
pipelineDescriptor.colorAttachments[0].isBlendingEnabled = true
pipelineDescriptor.colorAttachments[0].sourceRGBBlendFactor = MTLBlendFactor.blendAlpha
pipelineDescriptor.colorAttachments[0].destinationRGBBlendFactor = MTLBlendFactor.oneMinusSourceAlpha
pipelineDescriptor.colorAttachments[0].rgbBlendOperation = MTLBlendOperation.add
pipelineDescriptor.colorAttachments[0].sourceAlphaBlendFactor = MTLBlendFactor.sourceAlpha
pipelineDescriptor.colorAttachments[0].destinationAlphaBlendFactor = MTLBlendFactor.oneMinusSourceAlpha
pipelineDescriptor.colorAttachments[0].alphaBlendOperation = MTLBlendOperation.add
Those were the flags I'm passing to enable the blending. If I comment out those lines, then I get the color, but not the blending.
Has anyone else encountered this?