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.


#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