SoRenderToTargetlayers Property |
This field is used when targets are OIV.Inventor.Nodes.SoTexture3 or OIV.Inventor.Nodes.SoTextureCubeMap.
Namespace: OIV.Inventor.Nodes
It describes the layer where the color attachment must be written, along the Z dimension for OIV.Inventor.Nodes.SoTexture3, or the cube map face for OIV.Inventor.Nodes.SoTextureCubeMap (the cube map faces order is presented in the table below). This field is indexed by color attachments (i.e. from COLOR0 to COLOR15) and has no effect when targets are of type OIV.Inventor.Nodes.SoTexture2 or when target attachments are DEPTH or STENCIL, which require a OIV.Inventor.Nodes.SoTexture2 Target.
Layer number | Cube Map Face |
0 | Positive X |
1 | Negative X |
2 | Positive Y |
3 | Negative Y |
4 | Positive Z |
5 | Negative Z |