Evas filters: Implement bump maps
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 9 Dec 2013 07:56:44 +0000 (16:56 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 7 Feb 2014 08:33:16 +0000 (17:33 +0900)
commitd7ed901ffd1e5981a99e4130518cb7b8983c452b
tree1acd95757b8be88f7ad99068f13e5196f36c664f
parent40c7f90bdc551660cab45df2f80f428b54f77651
Evas filters: Implement bump maps

These bump maps implement two light effects at once:
- 3D Shadows
- Specular lights

The specular light is activated by a flag.
Another flag enables compensation for darkening/whitening of
horizontal surfaces.

NOTE: This implementation is VERY SLOW.
It uses double values and divisions all over the place.
It might be possible to optimize by computing two LUTs before
running the algorithm.
src/lib/evas/filters/evas_filter_bump.c [new file with mode: 0644]