error: The shader requires a sampler in slot 0 which hasn't been set [XXXsampler]

minggoddess發表於2014-06-13

About the sampler, you need to assign it to your pixelshader.

m_d3dContext.Get()->PSSetSamplers(0,1,&m_sampleState);

 

 

相關文章