Jump to content
  • Advertisement
Sign in to follow this  
den_wan

DX12 DX12 problem with layered MRT

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

rerndering to the first layer works just fine: EADev9ym.jpg but the second layer looks this: 4g7e9DDm.jpg resource descs: http://pastebin.com/zetRzV9t rtv desc: http://pastebin.com/905tW9Lx dsv desc: http://pastebin.com/YtY6rLL2 vertex shader: http://pastebin.com/8UYhzNKW geometry shader: http://pastebin.com/t5nBAWFA pixel shader: http://pastebin.com/Ljbchrre ---------- for rendering gbuffer srv desc: http://pastebin.com/guDMnWqP screenquad vs: http://pastebin.com/qUz0YRiy screenquad gs: http://pastebin.com/1LymhJ4W screenquad ps: http://pastebin.com/yBehwuBz

Share this post


Link to post
Share on other sites
Advertisement

You haven't even explained what's wrong with the image on the right.

 

You need to put some more effort into explaining what it is you're trying to achieve and why it doesn't look like what you're expecting.

Share this post


Link to post
Share on other sites
yes, i am rendering the exact same data to my layered MRT. so both pictures should look the same. and i fixed my problem. turns out that creating a texture array with 0 miplevels is not a good idea.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!