defold / examples

Defold examples for the Learn section of the site
https://www.defold.com/examples/
109 stars 28 forks source link

Billboards for sprites and particles #63

Open aglitchman opened 2 weeks ago

aglitchman commented 2 weeks ago

Describe the example you'd like A shader and/or script implementation of billboards.

A billboard is the process of representing a two-dimensional sprite in a three-dimensional space. It typically involves forcing the sprite to rotate with the camera so that, just like in a 2D game, the camera is unable to view the sprite with any perspective. This creates a 2D object that can be viewed from multiple angles, in a 3D space, but without appearing as a flat 3D surface.