<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ShaderGraph-Docs",
  "identifier" : "/documentation/ShaderGraph/Data/Combine-4",
  "metadataVersion" : "0.1.0",
  "role" : "ShaderGraph Node",
  "symbol" : {
    "kind" : "ShaderGraph Node",
    "modules" : [
      "ShaderGraph"
    ],
    "preciseIdentifier" : "Shader_ND_combine4_color4"
  },
  "title" : "Combine 4"
}
-->

# Combine 4

Combines the channels from four streams into four channels of a single output stream of a compatible type.

## Parameter Types

**Combine 4 (color4f):**

|Input |Type |
                |------|-----|
                |`In 1`|Float|
                |`In 2`|Float|
                |`In 3`|Float|
                |`In 4`|Float|

|Output|Type         |
                |------|-------------|
                |`Out` |Color4<Float>|

**Combine 4 (vector4h):**

|Input |Type|
                |------|----|
                |`In 1`|Half|
                |`In 2`|Half|
                |`In 3`|Half|
                |`In 4`|Half|

|Output|Type    |
                |------|--------|
                |`Out` |Vector4h|

**Combine 4 (color4h):**

|Input |Type|
                |------|----|
                |`In 1`|Half|
                |`In 2`|Half|
                |`In 3`|Half|
                |`In 4`|Half|

|Output|Type         |
                |------|-------------|
                |`Out` |Color4<Float>|

**Combine 4 (integer4):**

|Input |Type |
                |------|-----|
                |`In 1`|Int32|
                |`In 2`|Int32|
                |`In 3`|Int32|
                |`In 4`|Int32|

|Output|Type    |
                |------|--------|
                |`Out` |Integer4|

**Combine 4 (vector4f):**

|Input |Type |
                |------|-----|
                |`In 1`|Float|
                |`In 2`|Float|
                |`In 3`|Float|
                |`In 4`|Float|

|Output|Type    |
                |------|--------|
                |`Out` |Vector4f|

**Combine 4 (matrix4x4f):**

|Input |Type    |
                |------|--------|
                |`In 1`|Vector4f|
                |`In 2`|Vector4f|
                |`In 3`|Vector4f|
                |`In 4`|Vector4f|

|Output|Type      |
                |------|----------|
                |`Out` |Matrix4x4f|

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)