# ACES and Substance Painter

**URL:** <https://community.acescentral.com/t/aces-and-substance-painter/2299>\
**Category:** VFX\
**Created:** [November 6, 2019, 2:16am UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299 "2019-11-06T02:16:17Z")\
**Posts on this page:** 19\
**Page:** 3

<div class="post-metadata">

**Author:** ![Derek](https://community.acescentral.com/user_avatar/community.acescentral.com/derek/32/5573_2.png) [@Derek](https://community.acescentral.com/u/Derek)\
**Post date:** [August 9, 2021, 10:44pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/41 "2021-08-09T22:44:16Z")

</div>

Thanks for your reply @MrLixm!

EDIT: I see that you have two LUTS, one from sRGB-linear to Output, and another from ACEScg to Output.

---

<div class="post-metadata">

**Author:** ![MrLixm](https://community.acescentral.com/user_avatar/community.acescentral.com/mrlixm/32/9658_2.png) [@MrLixm](https://community.acescentral.com/u/MrLixm)\
**Post date:** [December 8, 2021, 7:36pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/42 "2021-12-08T19:36:29Z")

</div>

Hello, Substance Painter, as part of their latest 7.4 update now supports OCIO.

I made a full review of it on my blog (with a section on the ACES workflow):

> **[Color-management in Substance Painter with OCIO - Liam Collod](https://liamcollod.xyz/blog/substance-painter-color-management/)**
>
> The long-awaited OCIO feature is here, now we gotta find how it works.

Hope this can be of any utility.  
Cheers.

---

<div class="post-metadata">

**Author:** ![Derek](https://community.acescentral.com/user_avatar/community.acescentral.com/derek/32/5573_2.png) [@Derek](https://community.acescentral.com/u/Derek)\
**Post date:** [December 9, 2021, 2:32am UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/43 "2021-12-09T02:32:06Z")

</div>

Very nice write up Liam!

I see you’ve tried an OCIOv2 config in Substance. I’m noticing that when using an OCIOv2 config I get the following error in the SP logs:

`[ColorManagement] Error while creating OpenColorIO colorspace transform: Color space '<USE_DISPLAY_NAME>' could not be found.`

Are you getting the same error when using your v2 config?

---

<div class="post-metadata">

**Author:** ![MrLixm](https://community.acescentral.com/user_avatar/community.acescentral.com/mrlixm/32/9658_2.png) [@MrLixm](https://community.acescentral.com/u/MrLixm)\
**Post date:** [December 9, 2021, 6:27am UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/44 "2021-12-09T06:27:32Z")

</div>

Yes getting the same, but the displays all seems to work fine.

---

<div class="post-metadata">

**Author:** ![Derek](https://community.acescentral.com/user_avatar/community.acescentral.com/derek/32/5573_2.png) [@Derek](https://community.acescentral.com/u/Derek)\
**Post date:** [December 9, 2021, 7:08am UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/45 "2021-12-09T07:08:32Z")

</div>

True that.

> For scalar channels, sp will not apply any color-transformation and consider them using the colorspace `raw` (no matter the config).

This is very interesting. Do you know it this is true for masks (which are not output with the Export Textures dialog, but with right-click “export mask to file” since the Blending Mask channel was depreciated.

> We doesn’t have any options to apply a color-transformation at export time in the Window. The only options are the one available into the project settings.

Yes, this is unfortunate. Consequently, I have 16-bit set to raw as this is only used for png16 files of normal maps. I also only export bump maps as EXRs as the HDR detail seems to get lost in an 8-16bit jpg or png. Your approach of having everything as EXR also seems like a good one. I do wish they would support EXR compression like DWAB.

---

<div class="post-metadata">

**Author:** ![MrLixm](https://community.acescentral.com/user_avatar/community.acescentral.com/mrlixm/32/9658_2.png) [@MrLixm](https://community.acescentral.com/u/MrLixm)\
**Post date:** [December 9, 2021, 12:35pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/46 "2021-12-09T12:35:10Z")

</div>

> [@Derek](#):
>
> Do you know it this is true for masks

Didn’t think of this feature at all, after testing mask are still considered as “Raw” channel so even with the `Export to file` option they are properly exported no matter the format.  
There is a new option `Gamma corrected alpha/mask` when you right click on the mask. It seems to only  
affect Material preview thought.

> [@Derek](#):
>
> I have 16-bit set to raw

You don’t need to, as mentioned if your channel is in the list of scalar channel it will be automatically considered as “Raw”. No matter the file format.

Thanks for the feedback, will update the article with the thing about masks !

---

<div class="post-metadata">

**Author:** ![Derek](https://community.acescentral.com/user_avatar/community.acescentral.com/derek/32/5573_2.png) [@Derek](https://community.acescentral.com/u/Derek)\
**Post date:** [December 12, 2021, 5:08pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/47 "2021-12-12T17:08:03Z")

</div>

A note on using the color picker: The color picker works in the working color space (ACEScg). Therefore in order to pick a color from the viewport the Display color space (in the viewport, not in the color picker) needs to temporarily be set to Raw to sample the color properly.

---

<div class="post-metadata">

**Author:** ![MrLixm](https://community.acescentral.com/user_avatar/community.acescentral.com/mrlixm/32/9658_2.png) [@MrLixm](https://community.acescentral.com/u/MrLixm)\
**Post date:** [December 12, 2021, 7:40pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/48 "2021-12-12T19:40:59Z")

</div>

Are you sure about this ?  
With my test and as mentioned in my blog post the color\_picker always apply a revert transform based on the `color_picking` role defined in the config. As such you have to always revert this transform.

---

<div class="post-metadata">

**Author:** ![Derek](https://community.acescentral.com/user_avatar/community.acescentral.com/derek/32/5573_2.png) [@Derek](https://community.acescentral.com/u/Derek)\
**Post date:** [December 12, 2021, 10:57pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/49 "2021-12-12T22:57:35Z")

</div>

Yes I have verified this behavior. SP samples the display color. If the display color is set to raw then it will pick that raw scene-linear value, which is the color space the color picker works in. Let me add that this works in Base Color mode, but does not in material mode. Here’s steps to reproduce:

1. set viewport display to raw.
2. change the drop-down from material to single channel (Base Color)
3. sample the color in the viewport

Similarly if you take the scene linear values for a color swatch in Maya and type of those same values into substance viewing them both through the same display transform (in the render view in Maya and in the view port in substance) they will appear identical.

Remember Substance does not support OCIO roles. The color picker uses the working space as its color space and only displays the colors through the selected display transform.

---

<div class="post-metadata">

**Author:** ![MrLixm](https://community.acescentral.com/user_avatar/community.acescentral.com/mrlixm/32/9658_2.png) [@MrLixm](https://community.acescentral.com/u/MrLixm)\
**Post date:** [December 13, 2021, 10:35am UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/50 "2021-12-13T10:35:54Z")

</div>

Ok redid my test. I was wrong on the `color_picking` thing :

So I loaded substance with config using ACEScc as `color_picking` role.  
Used a random ODT:

 ![2021_12_13_111916_1879x936](https://acescentral-discourse-uploads.sfo3.cdn.digitaloceanspaces.com/original/2X/d/dfc13d8b388f008b604ecbbd46b9e4a356a5b0a1.png)

Manage to get the same values in Nuke using the invert transform `Output_ sRGB` to `ACEScg`.

 ![2021_12_13_112253_2201x1001](https://acescentral-discourse-uploads.sfo3.cdn.digitaloceanspaces.com/original/2X/2/21b950beae6ddc7f66fdab47894b2186a3c4e369.png)

This transform is still applied even when view\_transform is disabled as you can see above.

 ![2021_12_13_112452_1581x997](https://acescentral-discourse-uploads.sfo3.cdn.digitaloceanspaces.com/original/2X/4/491463f0e69e735af5e2af247f522efa83e02e88.png)

And of course same result for the roughness channel.

SO there is definitely always an inverted transform applied which modify the values.  
The question now is then why the `Output - sRGB` colorspace is picked and not an other ?  
So I modify the config by putting `Output - DCDM (P3D65 limited)` at the top of the displays and  
as the first `active_displays` :

 ![2021_12_13_113315_1603x918](https://acescentral-discourse-uploads.sfo3.cdn.digitaloceanspaces.com/original/2X/6/6454d0bfb2606e3cdbec4b10a2de7c67e458228e.png)

And well, result match. So it just use the first display specified.  
I can conclude that the color picker is definitively “fucky” as it always apply the inverse transform of the first display specified in the config.

Will update my blog post.  
Thanks for for the heads up, really usefull.

Cheers.  
Liam.

---

<div class="post-metadata">

**Author:** ![Derek](https://community.acescentral.com/user_avatar/community.acescentral.com/derek/32/5573_2.png) [@Derek](https://community.acescentral.com/u/Derek)\
**Post date:** [December 13, 2021, 8:02pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/51 "2021-12-13T20:02:16Z")

</div>

The pictures help a lot to see what your doing, so I’m adding my own in the hopes that they are also worth 1000 words too.

What I believe we are doing differently is what we set to raw. Note below in mine that I set the viewport to raw, not the color picker. This results in picking the same color in ACEScg.

 ![image](https://acescentral-discourse-uploads.sfo3.cdn.digitaloceanspaces.com/original/2X/5/57ea9a6ebb5c71e5cee832666200a64656f3e09a.png)

Nuke picks the raw color of the image. Substance picks what ever the display is set to. Probably it should do what Nuke does, but the workaround is to set the viewport display to the color space that the picker works in, which is ACEScg in Substance.

In Maya’s color picker the color management can be toggled off to get these same raw values, regardless to what the color picking role is set to. So you can have Maya and Substance side-by side and pick a color from Maya’s color picker.

 ![image](https://acescentral-discourse-uploads.sfo3.cdn.digitaloceanspaces.com/original/2X/8/8731cbb10ea12c6115e9fa7e80c3978c0edcbb2e.png)

Here’s another screenshot. Here in Nuke and Substance the display color is sampled. It seems to be a visual match, but the RGB values differ. That’s above my pay grade to make sense of.

 ![image](https://acescentral-discourse-uploads.sfo3.cdn.digitaloceanspaces.com/original/2X/9/9e3d3163db87f3313c116402dc174d95f49300d4.png)

---

<div class="post-metadata">

**Author:** ![MrLixm](https://community.acescentral.com/user_avatar/community.acescentral.com/mrlixm/32/9658_2.png) [@MrLixm](https://community.acescentral.com/u/MrLixm)\
**Post date:** [December 13, 2021, 8:27pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/52 "2021-12-13T20:27:47Z")

</div>

Hey, what OCIO config are you using ?  
So I can just quickly try on my side

---

<div class="post-metadata">

**Author:** ![Derek](https://community.acescentral.com/user_avatar/community.acescentral.com/derek/32/5573_2.png) [@Derek](https://community.acescentral.com/u/Derek)\
**Post date:** [December 13, 2021, 11:51pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/53 "2021-12-13T23:51:01Z")

</div>

I’m using my custom config here:

> **[GitHub - sharktacos/OpenColorIO-configs: An OpenColorIO config for ACES with added Look...](https://github.com/sharktacos/OpenColorIO-configs)**
>
> An OpenColorIO config for ACES with added Look Transforms.

However, you can instead just use the Maya 2022 default OCIOv2 config. Mine is built from that adding in some rules, roles, and LMTs.

---

<div class="post-metadata">

**Author:** ![MrLixm](https://community.acescentral.com/user_avatar/community.acescentral.com/mrlixm/32/9658_2.png) [@MrLixm](https://community.acescentral.com/u/MrLixm)\
**Post date:** [December 14, 2021, 8:07pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/54 "2021-12-14T20:07:19Z")

</div>

So, ran more experimentations with various config. There is definitively something fucky but I don’t know where yet.

Here is a simple tab I did to try to find clues :

 ![image](https://acescentral-discourse-uploads.sfo3.cdn.digitaloceanspaces.com/original/2X/b/b07f46301fa2ab408f6b2e2f3fa336c4e4786813.png)

The decisive factor is : **does the picker pick the right value when the view transform is disabled.** (`vt off working ?` column )  
Only 2 configs have it working, they are v2 config and are using display colorspaces and shared views.

Will continue investigating.

---

<div class="post-metadata">

**Author:** ![Derek](https://community.acescentral.com/user_avatar/community.acescentral.com/derek/32/5573_2.png) [@Derek](https://community.acescentral.com/u/Derek)\
**Post date:** [December 15, 2021, 4:09am UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/55 "2021-12-15T04:09:20Z")

</div>

Fascinating. What does a check/uncheck by “active set” refer to?

btw, here’s what my config was derived from (no LUTs needed):  
[https://opencolorio.readthedocs.io/en/latest/configurations/ocio\_v2\_demo.html](https://opencolorio.readthedocs.io/en/latest/configurations/ocio_v2_demo.html)

---

<div class="post-metadata">

**Author:** ![MrLixm](https://community.acescentral.com/user_avatar/community.acescentral.com/mrlixm/32/9658_2.png) [@MrLixm](https://community.acescentral.com/u/MrLixm)\
**Post date:** [December 17, 2021, 10:57pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/56 "2021-12-17T22:57:05Z")

</div>

Updated my blog post with my latest conclusions.  
Here they are :

- `Case 1`

> You are using an OCIO v2 config that **uses Display colorspaces and Shared Views** (OCIO v2 new features) :
> 
> The picker take the value at the display (after the view-transform is applied) and return it.  
> This only work when there is, well …, no view-transform, _i.e._ is it is disabled or use a display with a “passtrough/raw” encoding. If you are viewing color data with the proper view-transform, the picked value will not correspond to the original value you used.

- `Case 2`

> You are using an OCIO v1 config or v2 without the new features :
> 
> The picker take the value at display (with the view-transform), then apply an inverse display transform. It pick the default one, i.e. the first defined in the config or in the `active_displays` key. And as the sliders don’t go above 1, the result is clamped between the 0-1 range.

See [Color-management in Substance Painter with OCIO | Liam Collod's Blog](https://mrlixm.github.io/blog/substance-painter-color-management/#the-color-picker) section.

Results of the experiment are available here :

[https://liamcollod.notion.site/Substance-Painter-Color-Picker-Issue-1d1cdeeb0e2846ba977ebc453e5ae56b](https://liamcollod.notion.site/Substance-Painter-Color-Picker-Issue-1d1cdeeb0e2846ba977ebc453e5ae56b)

~~Will try to fill a bug report on the forum~~. [Solved: Color-picker doesn't behave consistent across OCIO... - Adobe Community - 12603389](https://community.adobe.com/t5/substance-3d-painter-discussions/color-picker-doesn-t-behave-consistent-across-ocio-configs/td-p/12603389)  
Even if I’m still not sure of what is going on, this is certain that the picker is broken most of the time.

Cheers.  
Liam.

---

<div class="post-metadata">

**Author:** ![Derek](https://community.acescentral.com/user_avatar/community.acescentral.com/derek/32/5573_2.png) [@Derek](https://community.acescentral.com/u/Derek)\
**Post date:** [December 18, 2021, 12:29am UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/57 "2021-12-18T00:29:36Z")

</div>

Great work Liam!

Hopefully once they implement OCIO roles they will make the color picker work like Maya which allows one to define the color picking role in the config.

---

<div class="post-metadata">

**Author:** ![MrLixm](https://community.acescentral.com/user_avatar/community.acescentral.com/mrlixm/32/9658_2.png) [@MrLixm](https://community.acescentral.com/u/MrLixm)\
**Post date:** [March 16, 2022, 10:35am UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/58 "2022-03-16T10:35:57Z")

</div>

So forget to give an update here :

On 08/03/22 the Sp’s team released 7.4.2.  
I did test this release and updated my blog-post accordingly :  
(same link) [https://mrlixm.github.io/blog/substance-painter-color-management/](https://mrlixm.github.io/blog/substance-painter-color-management/)

TLDR: the team did a great jobs and fixed a lot of issues. The color-picker behave much more as expected which is super-cool. I recommend to update.

Cheers.

---

<div class="post-metadata">

**Author:** ![Derek](https://community.acescentral.com/user_avatar/community.acescentral.com/derek/32/5573_2.png) [@Derek](https://community.acescentral.com/u/Derek)\
**Post date:** [March 16, 2022, 5:36pm UTC](https://community.acescentral.com/t/aces-and-substance-painter/2299/59 "2022-03-16T17:36:49Z")

</div>

Thanks for this update Liam. Great that OCIO roles work now! I see that the color picker still samples the display color rather than the raw color like Nuke does. Hope that changes in the future.

[Previous page](https://community.acescentral.com/t/aces-and-substance-painter/2299.md?page=2)
