-
Notifications
You must be signed in to change notification settings - Fork 63
Misc Shading
fallenoak edited this page Nov 11, 2016
·
11 revisions
In Mists of Panderia:
Batch A batches are rendered in 2 passes. Batch B and C batches are rendered in 3 passes. If shaders aren't used, batch B and C batches are rendered in 4 passes.
In Cataclysm:
Batch A batches are rendered in 2 passes. Batch B and C batches are rendered in ? passes.
Lighting Mode | Group Flags | Material Flags |
---|---|---|
0 | `0x08 | |
1 | `0x08 | |
2 | !0x08 && !0x40 |
!0x20 |
3 | !0x08 && !0x40 |
0x20 |
Lighting Mode | Group Flags | Material Flags |
---|---|---|
0 | Any | 0x01 |
1 | Any | !0x01 && !0x20 |
2* | Not Used | Not Used |
3 | Any | !0x01 && 0x20 |
*
Lighting mode 2 is not used for batch types B & C in pass 2.
Rendered with 2 passes only.
Lighting Mode | Group Flags | Material Flags |
---|---|---|
0* | Not Used | Not Used |
1* | Not Used | Not Used |
2** | Any | Any |
3* | Not Used | Not Used |
*
Lighting modes 0, 1, and 3 are not used for batch types B & C in pass 3.
**
Lighting mode 2 is always used for batch types B & C in pass 3.
Seems to not put down vertex colors.
- ALPHATESTENABLE: False
- ALPHABLENDABLE: True
- SEPARATEALPHABLENDENABLE: False
- ALPHAFUNC: D3DCMP_GREATEREQUAL
- BLENDOP: D3DBLENDOP_ADD
- SRCBLEND: D3DBLEND_SRCALPHA
- DESTBLEND: D3DBLEND_ZERO
Seems to put down vertex colors.
- ALPHATESTENABLE: False
- ALPHABLENDABLE: True
- SEPARATEALPHABLENDENABLE: False
- ALPHAFUNC: D3DCMP_GREATEREQUAL
- BLENDOP: D3DBLENDOP_ADD
- SRCBLEND: D3DBLEND_INVSRCALPHA
- DESTBLEND: D3DBLEND_ONE