has revealed a DX11 code sample of the TressFX
hair rendering and simulation solution, that can help developers to integrate this technology into games or game engines.
This sample implements AMD's TressFX hair rendering and simulation technology. The TressFX technology uses the GPU to simulate and render hair that looks and acts like real hair, better than anything previously seen in games.
AMD TressFX makes use of the processing power of high performance GPUs to do realistic rendering and utilizes DirectCompute to physically simulate each individual strand of hair. Rendering is based on an I3D 2012 Paper from AMD "A Framework for Rendering ComplexScattering Effects on Hair", Yang, et.al., with some modifications and optimizations in order to achieve a level of performance that enables TressFX to be used in games.
The physics simulation is described in another paper by AMD which was presented at VRIPHYS 2012: "Real-time Hair Simulation with Efficient Hair Style Preservation", Han, et al.
Code sample can be downloaded from here