ZBrushCentral

White in rendered BPR_Mask.PSD files is not R/G/B = 255/255/255. Solution?

Hello,

when I render the mask channel in ZBrush and save it out as PSD-File, the brightest value of the mask is not pure white (which is R/G/B = 255/255/255) but only 254/254/254.

That’s why the masked object is never fully opaque when I comp it in Photoshop but slightly transparent. So every single mask has to be fixed by adjusting the white point.

Why has it to be this way? Is there an option in ZBrush where I can toggle this annoying render result off and get pure whites where pure whites should be?

Thanks.

Olaf

I confirm that I get the same value - I’ll pass on this information to the developers. I don’t know of any settings in ZBrush that change this but the attached Photoshop script may be of use.

The script will process a folder of BPR Render Pass files. The files should be named so that they have BPR in them and the Mask file should have the word “Mask” in the name also. The simplest way is to use the default names that ZBrush gives, such as BPR_Render.psd, BPR_Depth.psd, BPR_Mask.psd, and so on. All the files in the folder will be processed, so use a new folder when saving a new render.

The script will combine the files as layers into a new file, except for the Mask file which will be added as a new alpha channel (and it will be corrected to give pure white/black). The file will be 16bit RGB to preserve the 16bit values for the Depth pass, so you may need to convert to 8bit RGB.

Installation:

  1. Unzip the file to your Desktop.
  2. Copy the ZBrush BPR Import.jsx file to ‘C:\Program Files\Adobe\Adobe Photoshop CS#\Presets\Scripts’
  3. Restart Photoshop

Instructions:

  1. In Photoshop, choose File > Scripts > ZBrush BPR Import
  2. You’ll get a dialog box for selecting a folder. Select the folder where you have saved your BPR render pass files and the script will process them.

Download here:

HTH,

You wouldn’t happen to have a version of that as a .psp script file for PSP V9.1 would you?

Sorry Doug, no I don’t.

Now that is a nice script for a temporary solution, thank you very much Marcus! :+1:
:slight_smile: