Jump to content

Image of the Day

What's the best way to move your heavy stuff? Using a power loader! #spacr #screenshotsaturday 💪🤖💪 https://t.co/sOjz2XNVeq
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

return color from ray hit

4: Adsense

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
1 reply to this topic

#1 football94   Members   

211
Like
0Likes
Like

Posted 25 June 2013 - 03:43 AM

Hi guys

 

 Ive been trying to to find the xna version of a ray method  returning the color of an  intersected model

 if anyone could point me in the right direction on how this is done it be much appreciated thankyou.



#2 Zaoshi Kaba   Members   

8095
Like
0Likes
Like

Posted 25 June 2013 - 04:39 AM

One of ways is to render intersected model into separate render target, then get pixel from it where intersection happened.






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.