Texture 1이 최하단, Texture 8이 최상단인 레이어 스택입니다. 매 프레임 투명한 상태에서 다시 시작하며, 연결되어 있고 불투명도가 0보다 큰 슬롯만 아래부터 순서대로 겹쳐 나갑니다.
- opacity1~opacity8 — 0~1로 클램프, 기본값 1. 소재 자체의 알파에 곱한 뒤 합성하므로, 위 레이어의 투명한 부분이 아래를 지워 버리는 일은 없습니다
- blend1~blend8 — 0 = Normal(기본값) / 1 = Add / 2 = Multiply / 3 = Screen
- 노드 UI에 표시되는 것은 Op 1~8의 불투명도뿐입니다. 블렌드 모드는 스크립트에서 설정합니다
- 출력은 시작 시점의 글로벌 해상도로 고정됩니다(입력 해상도를 따라가지 않습니다)
불투명도가 0인 슬롯은 합성 자체를 건너뜁니다. 유효한 슬롯이 하나도 없는 프레임에서는 출력이 투명하게 클리어됩니다.
입력 포트
| Port ID | 타입 |
Texture 1 | RenderTexture |
Texture 2 | RenderTexture |
Texture 3 | RenderTexture |
Texture 4 | RenderTexture |
Texture 5 | RenderTexture |
Texture 6 | RenderTexture |
Texture 7 | RenderTexture |
Texture 8 | RenderTexture |
출력 포트
| Port ID | 타입 |
Out | RenderTexture |
스크립트에서 설정할 수 있는 멤버
| 경로 | 타입 |
opacity1 | float |
opacity2 | float |
opacity3 | float |
opacity4 | float |
opacity5 | float |
opacity6 | float |
opacity7 | float |
opacity8 | float |
blend1 | int |
blend2 | int |
blend3 | int |
blend4 | int |
blend5 | int |
blend6 | int |
blend7 | int |
blend8 | int |
Synapse Apps (스크립팅)
await synapse.modules.create({ type: "AppStackMixer" })