Blender Git Commit Log

Git Commits -> Revision af522ab

Revision af522ab by Matt Ebb (master)
October 5, 2009, 02:59 (GMT)
* changes/additions to volume lighting

Volumes can now receive shadows from external objects, either raytraced shadows or shadow maps.

To use external shadows, enable 'external shadows' in volume material 'lighting' panel. This an extra toggle since it causes a performance hit, but this can probably be revisited/optimised when the new raytrace accelerator is integrated. For shadow maps at least, it's still very quick.

Renamed 'scattering mode' to 'lighting mode' (a bit simpler to understand), and the options inside. Now there's:

- Shadeless
takes light contribution, but without shadowing or self-shading (fast)
good for fog-like volumes, such as mist, or underwater effects

- Shadowed (new)
takes light contribution with shadows, but no self-shading. (medium)
good for mist etc. with directional light sources
eg. http://vimeo.com/6901636

- Shaded
takes light contribution with internal/external shadows, and self shading (slower)
good for thicker/textured volumes like smoke

- Multiple scattering etc (still doesn't work properly, on the todo).

Commit Details:

Full Hash: af522abf33bd3b8caf61f596d1e0a35285e45f9a
SVN Revision: 23629
Parent Commit: 89df4a4
Lines Changed: +99, -24

8 Modified Paths:

/release/scripts/ui/buttons_material.py (+4, -3) (Diff)
/source/blender/blenkernel/intern/material.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_material_types.h (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_material.c (+13, -7) (Diff)
/source/blender/render/intern/source/convertblender.c (+4, -1) (Diff)
/source/blender/render/intern/source/volumetric.c (+66, -1) (Diff)
/source/blender/render/intern/source/volume_precache.c (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021