29 May 2012

Projection Mapping in Unity3D

A small demo for implementing projection mapping using shaders within Unity3D

This is a small demo that I had made while experimenting with Projection Mapping, released under the GNU GPL to benefit the community. You can find the github repository here.

The demo allows the user to dynamically change the mapping of a mesh using four controller spheres which act like handles. The quad-warping homography calculations are done natively within a script and transfered to the rendering engine via shaders. Here’s a screenshot: