Hi,
I want to share this with the com.
Open the d3dapp.cpp and find
It's placed below #else.
Change
to
Finish.
Now the edge render is more detailed.
Mfg. Nubody
I want to share this with the com.
Open the d3dapp.cpp and find
Code:
hr = m_pD3D->CreateDevice( m_d3dSettings.AdapterOrdinal(), pDeviceInfo->DevType,
Change
Code:
hr = m_pD3D->CreateDevice( m_d3dSettings.AdapterOrdinal(), pDeviceInfo->DevType, m_hWndFocus, behaviorFlags, &m_d3dpp, &m_pd3dDevice );
Code:
m_d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD; m_d3dpp.MultiSampleType = D3DMULTISAMPLE_NONMASKABLE; m_d3dpp.MultiSampleQuality = 6; m_d3dpp.BackBufferFormat = D3DFMT_R5G6B5; m_d3dpp.EnableAutoDepthStencil = TRUE; m_d3dpp.AutoDepthStencilFormat = D3DFMT_D16; m_d3dpp.Flags = 0; hr = m_pD3D->CreateDevice( m_d3dSettings.AdapterOrdinal(), pDeviceInfo->DevType, m_hWndFocus, behaviorFlags, &m_d3dpp, &m_pd3dDevice ); m_pd3dDevice->SetRenderState(D3DRS_CULLMODE, D3DCULL_NONE); m_pd3dDevice->SetRenderState(D3DRS_MULTISAMPLEANTIALIAS, TRUE);
Now the edge render is more detailed.
Mfg. Nubody