Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 29 Sep 2011
Offline Last Active Today, 03:29 PM

Topics I've Started

Alpha-Tested Draw to Depth Buffer Warning

13 November 2013 - 10:37 AM

Hi everybody,


I just implemented simple alpha-testing for the vegetation in my current project.

When I render the shadow map, I obviously need a pixel shader to discard the appropriate pixels, but I really only care about the depth buffer, so I just return zero from the shader. So now DirectX warns me that I use a pixel shader without any bound render targets. As the warning message says, that's not a problem since the data will simply be discarded.


Is there a way to handle this more elegantly? Or, more to the point, is there a way to keep DX from spamming the output window with warning messages that I know aren't a problem?

kW X-port texture coordinates garbled

30 September 2011 - 02:12 AM


I'm using kW X-port to export a skinned model from 3ds max. Unfortunately, the texture coordinates in the exported model end up garbled. Attached are some screenshots of what it looks like in 3ds max and when exported via kw-xport and as fbx. When exported as an fbx file, the texture coordinates are fine, but the animations get messed up. That's why I switched to kW X-port in the first place, as it handles the animations perfectly.
Does anybody have an idea what is going on here? What am I doing wrong? Posted Image