Rendering 2D sprites in a 3D world?

后端 未结 7 1170
情深已故
情深已故 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:55

    Check this tutorial about billboards. I think you'll find useful. http://www.lighthouse3d.com/opengl/billboarding/

提交回复
热议问题