这几天,RTT老是变灰,即使转换回来setrendertarget()也不行,经过调整
//m_pEffect->Begin(&uPasses, D3DXFX_DONOTSAVESTATE);
改为
m_pEffect->Begin(&uPasses, 0);
OK了
这几天,RTT老是变灰,即使转换回来setrendertarget()也不行,经过调整
//m_pEffect->Begin(&uPasses, D3DXFX_DONOTSAVESTATE);
改为
m_pEffect->Begin(&uPasses, 0);
OK了