Skip to content

Commit 4ac3229

Browse files
* 漏传文件
1 parent 4ea1a61 commit 4ac3229

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Chapter 11 Stenciling/GameApp.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,17 @@ class GameApp : public GameCore::IGameApp
6060
enum ePSOType
6161
{
6262
E_EPT_DEFAULT = 1,
63-
E_EPT_STENCILTEST = 2,
64-
E_EPT_STENCILDRAW = 3,
65-
E_EPT_TRANSPARENT = 4,
63+
E_EPT_STENCILTEST,
64+
E_EPT_STENCILDRAW,
65+
E_EPT_TRANSPARENT,
66+
E_EPT_SHADOW,
6667
};
6768
std::unordered_map<int, GraphicsPSO> m_mapPSO;
6869

6970
// render item skull point
7071
RenderItem* mSkullRitem = nullptr;
7172
Math::Vector3 mSkullTranslation = { 0.0f, 1.0f, -5.0f };
73+
RenderItem* mShadowedSkullRItem = nullptr;
7274

7375
// 镜中的skull
7476
RenderItem* mReflectedSkullRitem = nullptr;

0 commit comments

Comments
 (0)