# `ShadingOutputs`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Interface · `import type { ShadingOutputs } from '@holostep-configurators/runtime-client/contract';` · labs, `@experimental` · since 2.0.0 · section 20. Labs

The camelCased `gltf_pbr` inputs; omitted ones keep the material's.

## Members

| Member | Kind | Summary |
| --- | --- | --- |
| <a id="basecolor"></a>[`baseColor?`](ShadingOutputs.baseColor.md) | property | The graph's output for the base colour; it replaces the material's value there. |
| <a id="alpha"></a>[`alpha?`](ShadingOutputs.alpha.md) | property | The graph's output for the opacity, 0..1; it replaces the material's value there. |
| <a id="roughness"></a>[`roughness?`](ShadingOutputs.roughness.md) | property | The graph's output for the roughness, 0..1; it replaces the material's value there. |
| <a id="metallic"></a>[`metallic?`](ShadingOutputs.metallic.md) | property | The graph's output for the metalness, 0..1; it replaces the material's value there. |
| <a id="normal"></a>[`normal?`](ShadingOutputs.normal.md) | property | The graph's output for the shading normal; it replaces the material's value there. |
| <a id="emissive"></a>[`emissive?`](ShadingOutputs.emissive.md) | property | The graph's output for the emitted colour; it replaces the material's value there. |
| <a id="occlusion"></a>[`occlusion?`](ShadingOutputs.occlusion.md) | property | The graph's output for the ambient occlusion, 0..1; it replaces the material's value there. |

## Declaration

```ts
export interface ShadingOutputs {
  baseColor?: ShadingNode<'color3'>;
  alpha?: ShadingNode<'float'>;
  roughness?: ShadingNode<'float'>;
  metallic?: ShadingNode<'float'>;
  normal?: ShadingNode<'vector3'>;
  emissive?: ShadingNode<'color3'>;
  occlusion?: ShadingNode<'float'>;
}
```

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `ShadingOutputs` names no product |
| 2. A precedent | not recorded: no ledger row (coverage.json) names this member or its owner |
| 3. Two apps, or labs | labs (`@experimental` at a stable path, reached through `has()` or `supports()`): it graduates when a second app uses it |
| 4. The cheaper fix first | not recorded per member (Appendix B decides it per need) |
