Thursday, January 28, 2010
building a zdepth shader tree
ingredients,
1. sampler info
2. set range
3. blender
1. connect point camera Z of sampler info to value x of set range.
2. set min/max to 0 and 1, and set old min to distance between camera and furthest point in scene. for example -1000.
3. connect out value x to blender.blender
output the color.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment