From e5d030cb921f4b967485eaea9cff9e54ff24232a Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 18 Oct 2018 08:52:52 -0700 Subject: Enabled seperate samplers --- unityplugin/GhostCubeScene/src/GhostCubeScene.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'unityplugin/GhostCubeScene/src') diff --git a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp index 4d7b8d7..87ef39e 100644 --- a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp +++ b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp @@ -98,6 +98,7 @@ void GhostCubeScene::OnGraphicsInitialized() CreationAttribs.pShaderSourceStreamFactory = &BasicSSSFactory; CreationAttribs.SourceLanguage = SHADER_SOURCE_LANGUAGE_HLSL; CreationAttribs.Desc.DefaultVariableType = SHADER_VARIABLE_TYPE_STATIC; + CreationAttribs.UseCombinedTextureSamplers = true; CreateUniformBuffer(pDevice, sizeof(float4x4), "Mirror VS constants CB", &m_pMirrorVSConstants); -- cgit v1.2.3