away3d / away3d-core-fp11

Away3D engine for Flash Player 11
http://www.away3d.com
Other
639 stars 275 forks source link

Parallax Displacement #314

Open wizofwonders opened 12 years ago

wizofwonders commented 12 years ago

Parallax mapping (also known as offset mapping or virtual displacement mapping) is a shading technique that displaces the individual pixel height of a surface, so that when you look at it at an angle, the high points will obscure the low points behind them, making it look three-dimensional. The height data for each pixel comes from a heightmap texture, which needs to be created for each parallax mapped material. Parallax mapping is an enhancement of the bump mapping technique. It is only worthwhile for textures that have a depth of at least a few centimeters, like deep-set bricks or stone.

richardolsson commented 12 years ago

This is a great feature request, and as far as I know it shouldn't be impossible to implement. It won't make it into 4.0 but maybe 4.1 or 4.2. Thanks!