defold / examples

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

Add screenspace example #49

Closed aglitchman closed 1 month ago

aglitchman commented 1 month ago

For this example, I made a new material for 3D models which converts vertex coordinates to screenspace to get a special effect. It may be called "surface fill", "screenspace fill" and is used, most often in combination with outlines, to highlight objects in 3D games or indicate their status.

image

A small note: since the Screenspace and Unlit examples are in the section that has examples for 2D, I added “ (3D)” to their names for display in the menu. Is that okay?

PS Stole the camera controls from PR with cubemap 😊