Jump to content
  • Advertisement

Archived

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

dave

Can You Divide In A Vertex Shader?

This topic is 5176 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
Well, I don''t really know anything about shaders from actual experience, just from reading. But a quick glance at Microsoft''s DX reference shows that in all versions of vertex shaders, there is the instruction rcp, to take the reciprocal of a number. From their, it''s just a normal multiply, and you have performed a division.


Most of the greatest evils that man has inflicted upon man have come through people feeling quite certain about something which, in fact, was false.

-Bertrand Russell, Unpopular Essays, "Ideas That Have Harmed Mankind"

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!