3D Cube + Lighting
Simple cube moving in 3D with lighting, and dynamic shadows. Next step: Backface culling.
#3d#Backface Culling#Lighting#2d to 3d
19d
20
This is a remix of @djam's work. Currently a work in progress as we are missing backface culling. Any suggestions on implementing this would be great.
My solution is changing is changing edges, to quads.
By using filled quads (tiny squares) instead of lines, each face is a solid surface, making it easier to calculate and remove back-facing polygons in the rendering process.
Obviously the script will be handling intensive calculations, pushing performance to its limits.
Sounds fun!