mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-23 12:10:08 +00:00
dxViwer/dxPtexViewer enable back-face culling
since we fixed gregory patch rotation/orientation issues.
This commit is contained in:
parent
a1424ae163
commit
6a0b43ab2f
@ -1493,7 +1493,7 @@ initD3D11(HWND hWnd) {
|
||||
D3D11_RASTERIZER_DESC rasterDesc;
|
||||
ZeroMemory(&rasterDesc, sizeof(rasterDesc));
|
||||
rasterDesc.AntialiasedLineEnable = false;
|
||||
rasterDesc.CullMode = D3D11_CULL_NONE; // XXX
|
||||
rasterDesc.CullMode = D3D11_CULL_BACK;
|
||||
rasterDesc.DepthBias = 0;
|
||||
rasterDesc.DepthBiasClamp = 0.0f;
|
||||
rasterDesc.DepthClipEnable = true;
|
||||
|
@ -1259,8 +1259,7 @@ initD3D11(HWND hWnd) {
|
||||
D3D11_RASTERIZER_DESC rasterDesc;
|
||||
ZeroMemory(&rasterDesc, sizeof(rasterDesc));
|
||||
rasterDesc.AntialiasedLineEnable = false;
|
||||
//rasterDesc.CullMode = D3D11_CULL_NONE; // XXX
|
||||
rasterDesc.CullMode = D3D11_CULL_BACK; // XXX
|
||||
rasterDesc.CullMode = D3D11_CULL_BACK;
|
||||
rasterDesc.DepthBias = 0;
|
||||
rasterDesc.DepthBiasClamp = 0.0f;
|
||||
rasterDesc.DepthClipEnable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user