How do you get interpolated normals (Gouraud shading) in the pixel shader in directx11 ? In directx9 you had SetRenderState I think. Now I'm getting flat shading. Thanks !
Directx11 and smooth shading ?
2 replies to this topic
Members - Reputation: 525
Posted 04 March 2012 - 04:39 AM
Normals are interpolated by default unless you tell not to interpolate using nointerpolation (http://msdn.microsoft.com/en-us/library/windows/desktop/bb509706(v=vs.85).aspx)