Since the GUI is drawn to a render texture and then scaled in the render script, normal input coordinates don't work, and the conversion formula to get the correct coordinates is decidedly not obvious.
This pull request adds a small module to do that math for you, its minimal integration into the render script, and a sample script for the default example scene to show how it can be used.
Solves issue #13.
Since the GUI is drawn to a render texture and then scaled in the render script, normal input coordinates don't work, and the conversion formula to get the correct coordinates is decidedly not obvious.
This pull request adds a small module to do that math for you, its minimal integration into the render script, and a sample script for the default example scene to show how it can be used.