Added basic shading and support for up to 100 lights of any color; By default now, states with no lights are dark

This commit is contained in:
grayson committed 2021-09-04 15:51:03 -05:00
1 parent dff0d86558
commit 5c10fdc1a4
35 files changed
+4037 -2664

No files matched your search

@@ -9,32 +9,38 @@ v -1.000000 -1.000000 1.000000
v -1.000000 1.000000 1.000000
v 1.000000 -1.000000 1.000000
v 1.000000 1.000000 1.000000
vt 0.375961 -0.006421
vt 0.625961 0.243579
vt 0.375961 0.243579
vt 0.880422 0.750500
vt 0.630422 0.500500
vt 0.880422 0.500500
vt 0.630422 0.750500
vt 0.380422 0.500500
vt 0.380422 0.750500
vt 0.130422 0.500500
vt 0.380422 0.250500
vt 0.630422 0.250500
vt 0.630422 1.000500
vt 0.625961 -0.006421
vt 0.130422 0.750500
vt 0.380422 1.000500
vt 0.380883 0.000961
vt 0.630883 0.250961
vt 0.380883 0.250961
vt 0.875500 0.748039
vt 0.625500 0.498039
vt 0.875500 0.498039
vt 0.625500 0.748039
vt 0.375500 0.498039
vt 0.375500 0.748039
vt 0.125500 0.498039
vt 0.375500 0.248039
vt 0.625500 0.248039
vt 0.625500 0.998039
vt 0.630883 0.000961
vt 0.125500 0.748039
vt 0.375500 0.998039
vn 0.0000 0.0000 -1.0000
vn 1.0000 0.0000 0.0000
vn 0.0000 0.0000 1.0000
vn -1.0000 0.0000 0.0000
vn 0.0000 -1.0000 0.0000
vn 0.0000 1.0000 0.0000
s off
f 2/1 3/2 1/3
f 4/4 7/5 3/6
f 8/7 5/8 7/5
f 6/9 1/10 5/8
f 7/5 1/11 3/12
f 4/13 6/9 8/7
f 2/1 4/14 3/2
f 4/4 8/7 7/5
f 8/7 6/9 5/8
f 6/9 2/15 1/10
f 7/5 5/8 1/11
f 4/13 2/16 6/9
f 2/1/1 3/2/1 1/3/1
f 4/4/2 7/5/2 3/6/2
f 8/7/3 5/8/3 7/5/3
f 6/9/4 1/10/4 5/8/4
f 7/5/5 1/11/5 3/12/5
f 4/13/6 6/9/6 8/7/6
f 2/1/1 4/14/1 3/2/1
f 4/4/2 8/7/2 7/5/2
f 8/7/3 6/9/3 5/8/3
f 6/9/4 2/15/4 1/10/4
f 7/5/5 5/8/5 1/11/5
f 4/13/6 2/16/6 6/9/6
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB