diff options
author | Ton Roosendaal <ton@blender.org> | 2008-09-21 20:04:33 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-09-21 20:04:33 +0400 |
commit | afe851b6d194ad93f85a66ea5866a3709708089d (patch) | |
tree | 00ced6e9126d6c5e597be1c4b9d748fc59b8c590 /source/blender/makesdna/DNA_lamp_types.h | |
parent | 1c29d02305685a942742846c757775800202a52a (diff) |
Sunsky / Atmoshphere:
- Added blending mode and factor option, so it's more clear and
controllable what happens with it. Also nice for crazy effects
of course!
- Preview render now shows preview for it too
On the todos:
- have this in World buttons (as well) for quicker sky setups
- review math of color clamping and scaling, this is definitely
not good... but a fix will make old files look very different.
Diffstat (limited to 'source/blender/makesdna/DNA_lamp_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_lamp_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h index bc746e99864..217e3ed1463 100644 --- a/source/blender/makesdna/DNA_lamp_types.h +++ b/source/blender/makesdna/DNA_lamp_types.h @@ -79,7 +79,7 @@ typedef struct Lamp { /* sun/sky */ short sun_effect_type; - short atm_pad[3]; + short skyblendtype; float horizon_brightness; float spread; float sun_brightness; @@ -90,7 +90,7 @@ typedef struct Lamp { float atm_inscattering_factor; float atm_extinction_factor; float atm_distance_factor; - + float skyblendfac; /* yafray: photonlight params */ int YF_numphotons, YF_numsearch; |