Commit Graph

16 Commits

Author SHA1 Message Date
Dane Johnson
331056c206 Add ambient light from point lights 2021-03-04 14:49:48 -06:00
Dane Johnson
135b075aa1 Add point lights 2021-03-04 14:29:48 -06:00
Dane Johnson
ecaa623f61 Cull vertices beyond cull distance 2021-01-23 23:49:13 -06:00
Dane Johnson
3e816ae0d5 Use correct normal matrix 2021-01-23 23:31:46 -06:00
Dane Johnson
cff580b7f1 Correct for non uniform scale in lighting 2021-01-23 12:33:10 -06:00
Dane Johnson
9e88056e08 Import materials from files 2021-01-22 18:44:43 -06:00
Dane Johnson
74a700cc2b Vertex exports all lights independently 2021-01-22 14:40:45 -06:00
Dane Johnson
59e600a890 Remove perspective hack 2021-01-22 14:37:32 -06:00
Dane Johnson
fa0cb2a5d8 Add a ball, use actual flat shading 2021-01-21 18:29:49 -06:00
Dane Johnson
bde3aa816c Phong lighting, flat shader 2021-01-21 18:03:50 -06:00
Dane Johnson
1a687a2f24 Fix diffuse lighting 2021-01-21 15:35:21 -06:00
Dane Johnson
a7396c71fe Start work on lighting 2021-01-21 15:26:39 -06:00
Dane Johnson
9c08612c74 Added affine texture mapping 2021-01-19 16:08:37 -06:00
Dane Johnson
5e8d693758 Textures and colors passed to shader via Uniforms 2021-01-17 14:36:38 -06:00
Dane Johnson
d5788228f6 Show my square 2021-01-13 13:17:31 -06:00
Dane Johnson
41b99aa442 Drew a triangle 2021-01-13 10:42:57 -06:00