Sunsky / Atmoshphere:
authorTon Roosendaal <ton@blender.org>
Sun, 21 Sep 2008 16:04:33 +0000 (16:04 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 21 Sep 2008 16:04:33 +0000 (16:04 +0000)
commitafe851b6d194ad93f85a66ea5866a3709708089d
tree00ced6e9126d6c5e597be1c4b9d748fc59b8c590
parent1c29d02305685a942742846c757775800202a52a
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.
12 files changed:
source/blender/blenkernel/BKE_blender.h
source/blender/blenkernel/intern/object.c
source/blender/blenloader/intern/readfile.c
source/blender/makesdna/DNA_lamp_types.h
source/blender/makesdna/DNA_material_types.h
source/blender/render/intern/include/sunsky.h
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/pixelshading.c
source/blender/render/intern/source/sunsky.c
source/blender/src/buttons_shading.c
source/blender/src/preview.blend.c
source/blender/src/previewrender.c