diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-10-18 15:52:52 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-10-18 15:52:52 +0000 |
| commit | e5d030cb921f4b967485eaea9cff9e54ff24232a (patch) | |
| tree | 4ce52d4a0d3bd91933fc4cb098b0247a9242f8e9 /unityplugin/GhostCubeScene/src | |
| parent | Update README.md (diff) | |
| download | DiligentEngine-e5d030cb921f4b967485eaea9cff9e54ff24232a.tar.gz DiligentEngine-e5d030cb921f4b967485eaea9cff9e54ff24232a.zip | |
Enabled seperate samplers
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); |
