Blender Git Loki
Git Commits -> Revision b5071f3
Revision b5071f3 by Ton Roosendaal (master) January 10, 2004, 12:41 (GMT) |
Improved method to calculate normals for procedural textures such as Marble, wood, clouds. Instead of the retarded (but faster :) old method it now derives the normal based on displacement of a 'nabla' vector; sampling the texture additionally with three little offsets in x, y and z. Code provided by Eeshlo, and gratefully accepted! |
Commit Details:
Full Hash: b5071f367df1f88f13bca36b15474405ead1019b
SVN Revision: 1888
Parent Commit: 9d78e11
Lines Changed: +141, -108
1 Modified Path:
/source/blender/render/intern/source/texture.c (+141, -108) (Diff)