0

added some built-in rendermodes to rendermodes.py

This commit is contained in:
Andrew Brown
2012-02-03 20:39:04 -05:00
parent 6c647f3161
commit ba12cdf12e

View File

@@ -138,3 +138,14 @@ class Lighting(RenderPrimitive):
class SmoothLighting(Lighting):
name = "smooth-lighting"
# Built-in rendermodes for your convenience!
normal = [Base(), EdgeLines()]
lighting = [Base(), EdgeLines(), Lighting()]
smooth_lighting = [Base(), EdgeLines(), SmoothLighting()]
night = [Base(), EdgeLines(), Lighting(night=True)]
smooth_night = [Base(), EdgeLines(), SmoothLighting(night=True)]
nether = [Base(), EdgeLines(), Nether()]
nether_lighting = [Base(), EdgeLines(), Nether(), Lighting()]
nether_smooth_lighting = [Base(), EdgeLines(), Nether(), SmoothLighting()]