-
Notifications
You must be signed in to change notification settings - Fork 1
/
standard.pipeline.xml
53 lines (47 loc) · 1.01 KB
/
standard.pipeline.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<Pipeline>
<Setup>
<RenderTarget id="GBUFFER" depthBuf="true" numColBufs="3" format="RGBA16F" scale="1.0" />
</Setup>
<CommandQueue>
<Stage id="Attribpass">
<SwitchTarget target="GBUFFER" />
<ClearTarget depthBuf="true" colBuf0="true" />
<DrawGeometry context="ATTRIBPASS"
class="~Translucent" />
</Stage>
<Stage id="Lighting">
<SwitchTarget
target="" />
<ClearTarget
colBuf0="true"
/>
<BindBuffer
texUnit="8"
target="GBUFFER"
bufIndex="0"
/>
<BindBuffer
texUnit="9"
target="GBUFFER"
bufIndex="1"
/>
<BindBuffer
texUnit="10"
target="GBUFFER"
bufIndex="2"
/>
<DrawQuad
material="light.material.xml"
context="AMBIENT"
/>
<DoDeferredLightLoop
/>
</Stage>
<Stage
id="Overlays">
<DrawOverlays
context="OVERLAY"
/>
</Stage>
</CommandQueue>
</Pipeline>