Directx11 and smooth shading ?
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 !
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)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement