<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNShadable/shaderModifiers",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(pl)SCNShadable(py)shaderModifiers"
  },
  "title" : "shaderModifiers"
}
-->

# shaderModifiers

A dictionary of GLSL source code snippets for customizing the shader programs provided by SceneKit.

```
optional var shaderModifiers: [SCNShaderModifierEntryPoint : String]? { get set }
```

## Discussion

The dictionary’s keys must be from the set of constants described in `Shader Modifier Entry Point Keys`. Each key represents a possible entry point in SceneKit’s shader programs, whose corresponding value is an <doc://com.apple.documentation/documentation/Foundation/NSString> object containing a shader source code snippet to be included in the shader program at that entry point.

See [`Use Shader Modifiers to Extend SceneKit Shading`](/documentation/SceneKit/SCNShadable#Use-Shader-Modifiers-to-Extend-SceneKit-Shading) in the protocol overview for a complete discussion of shader modifiers.

---

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)