Jump to content

  • Log In with Google      Sign In   
  • Create Account

XNA 4 Multiple Render Targets....max MRT's?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 danromeo   Members   -  Reputation: 237

Like
0Likes
Like

Posted 24 February 2013 - 11:58 AM

I'm trying to set up deferred lighting in XNA 4.  I need to render to 3 multiple render targets.  No matter what I do the render target designated as COLOR2 in my pixel shader , the third render target, never renders correctly.  I have also loaded tried and tested deferred lighting tutorials and I get the same results....the third RT never renders correctly.

 

1.  XNA 4 hidef is supposed to support 4 MRT's.  Is this a limitation of my graphics card?  

 

2. How do I determine the max number of supported MRT's on my target system?

 

THANKS



Sponsor:

#2 Tarika   Members   -  Reputation: 481

Like
0Likes
Like

Posted 25 February 2013 - 08:53 AM

There are a vast number of reasons why things may not be rendering correctly in a multiple render target set-up, what formats are you using for all of your targets, and can you elaborate on what you mean by never rendering correctly, do you get output? what output where you expecting? etc...

 

With a bit more information we should be able to help you find a solution.

 

Aimee


We are now on Tumblr, so please come and check out our site! 

 

http://xpod-games.com


#3 CC Ricers   Members   -  Reputation: 728

Like
0Likes
Like

Posted 25 February 2013 - 01:58 PM

What does the render target look like if it's "not rendered correctly"? Do you get a empty (clear color) target surface? What surface formats are you using? You could try using a test shader that just draws one solid color to see if that's working.


My development blog: Electronic Meteor




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS