Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Directx11 and smooth shading ?

4: Adsense

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   

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 !

#2 Ripiz   Members   

538
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   

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.