Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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: 529

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