Efficient baking of self-shadowing for ambiant, directional and point light sources to texture on CPU. Works by raycasting from uv coordinates on the surface of the model to a light source.
- git submodule update --init --recursive
- mkdir BUILD & cd BUILD
- cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" ..
- cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 14 2015 Win64" ..
Compiled and tested on
- g++ (Ubuntu 7.3.0-27ubuntu1~18.04)
- MSVC (Windows 10 x64, MSVC++ 14.0)
meshoui is licensed by Patrick Pelletier under the MIT License, see LICENSE for more information.
