diff options
author | quou <quou@disroot.org> | 2024-08-10 22:42:12 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-08-10 22:42:12 +1000 |
commit | bcd2fc9a97d33884e1229d62bb65d5a2679334b7 (patch) | |
tree | fe812fb2c05bf54d70172887addc659adec66306 | |
parent | cfc86e984f965285094fca91fee7d9098423b4cb (diff) |
Remove lighting for now
-rw-r--r-- | render.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -739,6 +739,7 @@ void ren_mesh( wv[3] = m->t[v.t * 2 + 0]; wv[4] = m->t[v.t * 2 + 1]; { +#if 0 /* todo proper lighting */ int ld[] = { f1/2, f1/2, -f1/2 }; int nd[] = { f1/2, f1/2, f1/2 }; @@ -752,6 +753,11 @@ void ren_mesh( wv[5] = l; wv[6] = l; wv[7] = l; +#else + wv[5] = f1; + wv[6] = f1; + wv[7] = f1; +#endif } } ren_tri3(r, &tri[0], &tri[8], &tri[16], tex); |