Directx11 and smooth shading ?

Started by
1 comment, last by Fran 12 years, 2 months ago
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 !
Advertisement
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)
Got it...Actually, I didn't activate smooth shading in Blender, thinking it was automatic. Well thanks man !

This topic is closed to new replies.

Advertisement