Jump to content

  • Log In with Google      Sign In   
  • Create Account


Instance index within vertex shader.


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 Tarika   Members   -  Reputation: 481

Like
0Likes
Like

Posted 17 October 2012 - 02:19 AM

Hi Everyone

I'm currently trying to offload a task where I draw a bunch of sprites onto the graphics card as the GPU is not crunching much in our game, and I've been playing with the idea of instancing a single quad. My question is; is there any easy way to get an index of each instance within the vertex shader?

Thanks all

Aimee

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

 

http://xpod-games.com


Sponsor:

#2 Tarika   Members   -  Reputation: 481

Like
0Likes
Like

Posted 17 October 2012 - 03:12 AM

Please feel free to ignore this question, my appologies I figured it out and have decided to go a different route for now :S

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

 

http://xpod-games.com





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