diff options
Diffstat (limited to 'unityplugin/GhostCubeScene/src')
| -rw-r--r-- | unityplugin/GhostCubeScene/src/GhostCubeScene.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
