Hello all,
I need my texture to be not premultiplied alpha, because is use the alpha for some additional calculations in the fragment shader.
At the moment I load my texture like this
let textureLoader = MTKTextureLoader(device: sceneView.device!)
myTexture = try textureLoader.newTexture(URL: URL(fileURLWithPath: path!), options: [MTKTextureLoader.Option.SRGB: false])
because I need the raw RGBA values. But of course it gets premultiplied.
How can I turn off this behavior?