[Bf-blender-cvs] CVS commit: blender/source/blender/render/intern/source texture.c
Ton Roosendaal
ton at blender.org
Sat Jan 10 13:41:48 CET 2004
ton (Ton Roosendaal) 2004/01/10 13:41:47 CET
Modified files:
blender/source/blender/render/intern/source texture.c
Log:
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!
Revision Changes Path
1.8 +142 -109 blender/source/blender/render/intern/source/texture.c
More information about the Bf-blender-cvs
mailing list