Author Topic: If no channel is found export black instead of white  (Read 219 times)

Is it possible via python when exporting, to export black into a channel instead of white if the channel is missing in the project/document?

We currently use several user channels to build some masks, but not every project needs to use all of them, in these cases those packed channels export as White, which is causing annoying issues in the shader we use (having white in channels that should be black). I was curious if its possible at export to find out if a channel doesnt exist in the document. I know the errors return info can point this out in which case I'd like to export the channel as black, but I'm not sure if that would be possible or if I would need to build a new preset when it fails that puts black in those channels instead?