Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your help!

We need 7 developers from Canada and 18 more from Australia to help us complete a research survey.

Support our site by taking a quick sponsored survey and win a chance at a $50 Amazon gift card. Click here to get started!


Directx11 and smooth shading ?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Joedassin   Members   -  Reputation: 101

Like
0Likes
Like

Posted 04 March 2012 - 02:05 AM

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 !

Sponsor:

#2 Ripiz   Members   -  Reputation: 533

Like
0Likes
Like

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)

#3 Joedassin   Members   -  Reputation: 101

Like
0Likes
Like

Posted 04 March 2012 - 10:25 AM

Got it...Actually, I didn't activate smooth shading in Blender, thinking it was automatic. Well thanks man !




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS