Rendering 2D sprites in a 3D world?

后端 未结 7 1224
情深已故
情深已故 2021-01-03 01:17

How do I render 2D sprites in OpenGL given that I have a png of the sprite? See images as an example of the effect I\'d like to achieve. Also I would like to overlay weapo

7条回答
  •  遥遥无期
    2021-01-03 01:50

    Take a look at OpenGL Point Sprites:

    http://www.informit.com/articles/article.aspx?p=770639&seqNum=7

    Especially useful for partical systems but may do the trick for your purposes.

提交回复
热议问题