openGL rendering for an RTS

Started by
0 comments, last by L. Spiro 8 years, 10 months ago

Hello,

I am creating an RTS I am really wanting to combine the shader code of two tutorials:

http://ogldev.atspace.co.uk/www/tutorial33/tutorial33.html

http://ogldev.atspace.co.uk/www/tutorial38/tutorial38.html

My shader code is very similar to the 2nd tutorial for the skeletal animation, I'm just having trouble working out a way to do instance rendering with each instance having its own animation stance.

Any help is appreciated.

Advertisement

I can’t see your links, but use textures to upload the full set of bones for all the instances you need.

http://http.developer.nvidia.com/GPUGems3/gpugems3_ch02.html

It doesn’t matter that they discuss Direct3D 10 here; the concepts are the same.

L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

This topic is closed to new replies.

Advertisement