Blender Git Loki
Git Commits -> Revision 0b49dc7
Revision 0b49dc7 by Brecht Van Lommel (master) July 21, 2009, 13:46 (GMT) |
2.5: Bump Mapping Patch by Alfredo de Greef. Considerably improves the quality of bump mapping, and texture filtering for displacement and warp too. Mainly this is achieved by getting the texture derivatives just right in various cases, many thanks to Alfredo for figuring this one out, works great. This is enabled by default now, but disabled still for existing textures to preserve backwards compatibility. Can be enabled with the "New Bump" option in the material texture slot in the outliner. Also, I made the range for the normal factor a bit smaller since this gives stronger effects, but note that you can still type in larger values than the slider allows. |
Commit Details:
Full Hash: 0b49dc77deaa5e4bf148be4e17ae73119e6aa769
SVN Revision: 21771
Parent Commit: d19bb6f
Lines Changed: +367, -122
10 Modified Paths:
/release/ui/buttons_data_mesh.py (+8, -0) (Diff)
/source/blender/blenkernel/intern/material.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/texture.c (+2, -2) (Diff)
/source/blender/blenlib/intern/arithb.c (+11, -13) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -2) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+28, -2) (Diff)
/source/blender/render/intern/source/convertblender.c (+1, -0) (Diff)
/source/blender/render/intern/source/shadeinput.c (+7, -3) (Diff)
/source/blender/render/intern/source/texture.c (+295, -100) (Diff)
/source/blender/blenkernel/intern/material.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/texture.c (+2, -2) (Diff)
/source/blender/blenlib/intern/arithb.c (+11, -13) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -2) (Diff)
/source/blender/makesdna/DNA_texture_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+28, -2) (Diff)
/source/blender/render/intern/source/convertblender.c (+1, -0) (Diff)
/source/blender/render/intern/source/shadeinput.c (+7, -3) (Diff)
/source/blender/render/intern/source/texture.c (+295, -100) (Diff)