Jump to content
  • Advertisement
Sign in to follow this  

DX11 [SLIMDX] About RenderTarget's Width and Height

This topic is 2046 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

Sorry! My  English  isn't  very  well!   The problem is  I am use  Shadowmapping with slimDX11?But  when  I creat zDepthBuffer  my renderTarget's width  and  height  must equal the  screen's  width  and  heght.   Unless  when  i compute ,I  can't  obtain the  right  UV from the zDepth  Buffer.  When  I use  XNA  to  do  this  is  right.  I  don not  know  why I  use  slimdx11 is  fail.As  everyoneKnows  the  size decide  the shadow  quality and  no  matter  the  zDepthBuffer  is how  large,it's UV is   same actually! left and top  is 0 and 9. right  and  bottom  is 1 and  1.

  I  want  konw  is the  SLIMDX11's  BUG?  if  who  can  help  me  ,I  will  very  thanks  to you! Friends!!


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!