layered disparty map and wang tile

Here are two samples of using material-node.
http://www.ekakiya.jp/dispartymap.blend
http://www.ekakiya.jp/wangtile.blend
for latest SVN Blender.

1.layered disparty map
I think disparty map is useful for buildings.
It deforms a image texture perspective with a height map.
http://www.ekakiya.jp/dispartymaped.mov

This sample is effective only on the case “screen vectorXY = textureUV”.
For more utility,UV base tangent vector and camera-lens angled normal vector will be needed.
Z-test in Material and Output Z-buffer(as color and alpha) features will help disparty map,too.

2.wang tile
Wang tile is useful to randomize repeated pattern like turf surface,tiles,etc.


It use a noise texture to put map-chip texture.

included basic routine
normalize UV to [0.0 - 1.0]

Attachments