Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Wolf_gfx

Shaders

This topic is 5246 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
- Maybe you can use the nVidia shader debugger? I don''t know whether it works with DX9 or not.

- You could output your intermediate results to the screen, one by one, until you understand what''s going wrong (if something is going wrong).

Say you have an HLSL shader that uses the temporary/intermediate variables var1, var2, var3, var4 to calculate the final pixel color. You''d want to output var1 first, and verify that it''s correct, then var2, ...etc

It''s a painful process, but it gets the job done.

Muhammad Haggag

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!