0
Commit Graph

20 Commits

Author SHA1 Message Date
Alejandro Aguilera
fdadda0ea6 Move the average lighting coeff to another function. Take the average over blockmap.
Fixes problems with stairs in night and lighting rendermode.
2011-06-19 01:38:26 +02:00
Alejandro Aguilera
d95ae73286 Tall grass is now biome tinted. 2011-05-31 18:21:47 +02:00
Alejandro Aguilera
7ff6a4833b Add another element to the texture tuple with a mask for the lighting.
Make needed changes in textures.py.

Because some textures have garbage in the alpha channel, this new method has some problems.
2011-05-29 23:31:04 +02:00
Aaron Griffith
5c3b3be418 basic rendermode inheritance introspection (no more hacky overlay list) 2011-04-16 20:08:38 -04:00
Aaron Griffith
5f69b78c75 Merge branch 'dtt-c-render' into overlays
Conflicts:
	setup.py
2011-04-16 11:25:04 -04:00
Alejandro Aguilera
8165ce979d Add depth tinting to cave rendermode. 2011-04-14 00:33:41 +02:00
Alejandro Aguilera
b89ea8db8c Working cave rendermode without tinting. 2011-04-14 00:33:41 +02:00
Aaron Griffith
7955092e66 Merge branch 'dtt-c-render' into overlays
Conflicts:
	overviewer.py
	setup.py
2011-03-29 05:57:56 -04:00
Aaron Griffith
5f0766839e added metadata to rendermodes, and python bindings for them 2011-03-29 05:13:25 -04:00
Aaron Griffith
f23d3ddac9 converted spawn into a overlay-based rendermode 2011-03-28 03:40:02 -04:00
Aaron Griffith
83db528d81 added callback for derived rendermodes to easily provide overlay color 2011-03-28 03:20:16 -04:00
Aaron Griffith
d4bd1d713c overlay mode now only considers blocks where overlays make sense 2011-03-28 03:09:00 -04:00
Aaron Griffith
9f69f099ad initial support for map overlays 2011-03-28 02:50:36 -04:00
Aaron Griffith
fc176206ff initial C biome code 2011-03-27 05:49:57 -04:00
Aaron Griffith
d84af9fa4b changed lighting rendermode to use new state variables 2011-03-24 19:44:21 -04:00
Aaron Griffith
d36bd20e6a fixed lighting for half-step blocks 2011-03-23 02:52:19 -04:00
Aaron Griffith
ccddba2d81 ported spawn render mode to C 2011-03-23 02:31:09 -04:00
Aaron Griffith
69bb56dcb4 added night rendermode 2011-03-23 00:33:59 -04:00
Aaron Griffith
f5264e9306 rewrote get_lighting_coefficient in C 2011-03-23 00:03:26 -04:00
Aaron Griffith
b312cef52e put lighting render mode in its own file; it's about to get *way* more complicated 2011-03-21 19:53:20 -04:00