Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualAnddos

Posted 22 July 2013 - 08:06 PM

@belfegor: Okay, after testing for sometime

 

I notice that the shapes I create manually works much better with the shader light (D3DXCreateTeapot, D3DXCreateBox, D3DXCreateSphere, etc...) All works very well with the light.

 

However, when I load a mesh using D3DXLoadMeshFromX(), the specular light get messed up.

 

 

did you clone the mesh so it has NORMALS?


#1Anddos

Posted 22 July 2013 - 08:05 PM

@belfegor: Okay, after testing for sometime

 

I notice that the shapes I create manually works much better with the shader light (D3DXCreateTeapot, D3DXCreateBox, D3DXCreateSphere, etc...) All works very well with the light.

 

However, when I load a mesh using D3DXLoadMeshFromX(), the specular light get messed up.

 

did you clone the mesh so it has NORMALS?


PARTNERS