---
title: "CryptoMatte in Solaris"
canonical: "https://rmanwiki-25.pixar.com/space/RFH25/22642909/CryptoMatte%20in%20Solaris"
format: markdown
---
![image](media://0148b5d3-3d51-48be-8458-20c24ca5decd)


Using the [PxrCryptomatte](https://renderman.atlassian.net/wiki/display/REN/PxrCryptomatte) workflow, you can output IDs in Solaris for easy selection in a compositing application, which you can then use that selection as a mask to make changes selectively in post-production.

PxrCryptomatte is supplied as a [Sample Filter](https://renderman.atlassian.net/wiki/display/REN/Sample+and+Display+Filters) plugin. As such the output for Cryptomatte is stored as a separate EXR file from your beauty or denoise outputs. Please note an OpenEXR is required to store the values correctly.


![image](media://4299cca1-120e-4172-8222-54ae52cfd9cf)

The above example will output a separate Cryptomatte exr file and assign a unique matId for each material in the Solaris scene.  
  
Once rendered, you can then use software like The Foundry's Nuke to isolate a particular material or object in the scene.  In this example, we have selected the back wall in the studio, using the Cryptomatte Nuke Gizmo  
  
> Macro (inline-media-image)

  
  
  
and from there we can use that output as a mask to drive a ColorCorrect node to gamma down that particular part of the image to enable the foreground elements to stand out further from the background.


> Macro (inline-media-image)

  
  
For more detailed information about the Cryptomatte Sample filter, this can be found on the dedicated [PxrCryptomatte](https://renderman.atlassian.net/wiki/display/REN24/PxrCryptomatte) page