Skip to content

Dot32IsCool/3D-in-love2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D in Love2D

full, proper 3D with shaders and depth buffers 😎

Screen Shot 2021-07-27 at 7 27 29 pm

Notice the cubes clipping into eachother? Using my previous pseudo 3D approach of sorting 2D sprites, that would have been impossible! :)

Engine core is based off this very helpful example repo i found, i recomend downloading it and trying to figure out how it works 👌

A noteable difference between my engine and the example engine is that I decided not to use matrices for keeping track of translations, instead i use trigonometry in the vertex shader and simply pass a "rotation" float to rotate the cubes. While my approach is certainly less flexable, it removes requiring cpml as a dependancy ;)

About

Proper 3D with shaders and depth buffers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published