# Colored Alpha channel in postproduction problem

**URL:** <https://forums.chaos.com/t/colored-alpha-channel-in-postproduction-problem/114848>\
**Category:** Issues\
**Created:** [April 28, 2023, 6:55am UTC](https://forums.chaos.com/t/colored-alpha-channel-in-postproduction-problem/114848 "2023-04-28T06:55:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafa\_sopata](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@rafa\_sopata](https://forums.chaos.com/u/rafa_sopata)\
**Post date:** [April 28, 2023, 6:55am UTC](https://forums.chaos.com/t/colored-alpha-channel-in-postproduction-problem/114848/1 "2023-04-28T06:55:16Z")

</div>

I have the following question:

Is it possible to save a RAW file in .EXR format with Alpha map pass/information for a Product that has **SSS/Volumetric material** with a **colored alpha map** (see attachments)? The background needs to be transparent in my case and when I open a RAW file in Photoshop the elements from SSS/Volumetric material look different than in VFB  
It is important that everything is in one RAW file, it’s part of the current pipeline

Thanks for the advice​

 ![comparison.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/6/9/695e9682014f963ea62f28a882ca46523f548137.png)  
 ![VFB alpha channel.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/a/9/a90c9f3b65bbf64e546722b5127d56cddab1e360.png)

---

<div class="post-metadata">

**Author:** ![vladimir\_krastev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vladimir_krastev/32/42177_2.png) [@vladimir\_krastev](https://forums.chaos.com/u/vladimir_krastev)\
**Post date:** [April 28, 2023, 9:53am UTC](https://forums.chaos.com/t/colored-alpha-channel-in-postproduction-problem/114848/2 "2023-04-28T09:53:42Z")

</div>

Hi, thanks for posting. Are you using VRayFastSSS2 material? Could you tell us a bit more about your workflow? How do you open the exr image?

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [April 28, 2023, 10:38am UTC](https://forums.chaos.com/t/colored-alpha-channel-in-postproduction-problem/114848/3 "2023-04-28T10:38:34Z")

</div>

If you load the EXR with the alpha channel as alpha channel, it’ll load as mono.

 ![image.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/1/7/178a626b2af87e8d585b846b04a187abf4b35f54.png)​

 ![image.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/7/3/7355d85d8efd0e202a5828fcf6d8d3a4f3c98aa4.png)​  
 ![image.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/5/c/5c191162da98ff7ac28b21d82ac8a1919d6f2e14.png)​

---

<div class="post-metadata">

**Author:** ![rafa\_sopata](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@rafa\_sopata](https://forums.chaos.com/u/rafa_sopata)\
**Post date:** [April 28, 2023, 11:31am UTC](https://forums.chaos.com/t/colored-alpha-channel-in-postproduction-problem/114848/4 "2023-04-28T11:31:30Z")

</div>

Thanks for the answers

@_Lele ​ - yes Alpha channel as “mono” in .EXR is the problem here

@vladimir_krastev ​ - The workflow consists of 2 stages

Stage 1:  
2k prev from VFB is saved as .jpg and sent to client for approval (product + LUT + whitebackground - all in VFB)

Stage 2:  
After approval we render 4k .exr RAW file and in Photoshop there is automatic post production which gives TIFF file with 4x separate layers  
- Product  
-Shadow on ground  
-Reflection on the ground  
-White background

The problem occurs in VrayMtl for transparent materials with Fog color  
Translucency None/valumetric/SSS​ (colored alpha channel it appears)

 ![material.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/7/c/7c5990d14a707dd2d411448f0dbba6acb62cb879.png)  
 ![0_alpha problem .jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/a/f/af8cfd5e922fe2b5bbac8a337923749f05d1d3a0.jpeg)

---

<div class="post-metadata">

**Author:** ![rafa\_sopata](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@rafa\_sopata](https://forums.chaos.com/u/rafa_sopata)\
**Post date:** [April 28, 2023, 11:38am UTC](https://forums.chaos.com/t/colored-alpha-channel-in-postproduction-problem/114848/5 "2023-04-28T11:38:12Z")

</div>

Also I found the information how to prepare the correct post production in Photoshop with colored alpha - and I need to do the following steps:

- invert the colored alpha channel - this way I will get the invered color  
- multiply the inverted alpha by the background  
- add your final image with plus operation to the background with already inverted alpha

**The question is is it possible to save “colored” alpha chanell in .exr RAW file, because currently “mono” alpha chanell is saved** ​

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [April 28, 2023, 1:47pm UTC](https://forums.chaos.com/t/colored-alpha-channel-in-postproduction-problem/114848/6 "2023-04-28T13:47:49Z")

</div>

> [@rafa\_sopata](#):
>
> **The question is is it possible to save “colored” alpha chanell in .exr RAW file, because currently “mono” alpha chanell is saved** ​

Oh, sorry, i had it backwards.

The EXR format specification expects RGBA, with Alpha crucially represented as a single channel.  
You can write an RGB layer with the alpha in it if you render Deep, and use the VrayOptionsRE to write it as RGB.  
Unfortunately, i don’t think PS would be very happy with the format.

​

 ![image.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/3/a/3ab9de9b863c1d28b6b014209d166a8517887200.png)

We will extend the option to write an RGB layer for the alpha channel in non-deep rendering in the near future.  
If you didn’t use PS, it’d be trivial enough to recompose your thick EXR in nuke from individual layers, in which case you’d have the alpha saved as RGB as a matter of course.​

---

<div class="post-metadata">

**Author:** ![rafa\_sopata](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@rafa\_sopata](https://forums.chaos.com/u/rafa_sopata)\
**Post date:** [May 1, 2023, 2:04pm UTC](https://forums.chaos.com/t/colored-alpha-channel-in-postproduction-problem/114848/7 "2023-05-01T14:04:45Z")

</div>

Thanks for answer @_Lele ​

Yes, Photoshop wasn’t happy with deep EXR.

Do you plan to be exanded in non-deep in the next Fix? When can we expect this update?

Is there a way around this by saving the file to .vrim and then from ChaosPlayer to a RAW file with colored Alpha?

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [May 2, 2023, 6:52am UTC](https://forums.chaos.com/t/colored-alpha-channel-in-postproduction-problem/114848/8 "2023-05-02T06:52:10Z")

</div>

> Do you plan to be exanded in non-deep in the next Fix? When can we expect this update?  
> The change is planned, timings are something we’d rather not share as they are always changing.
