disabling image filtering
Monkey Forums/Monkey Programming/disabling image filtering
| ||
My sprites are showing up blurry :( Is there a way to disable image filtering so that my sprites are nice and pixelly? I can't find anything in the docs. Cheers Charlie |
| ||
Use the preprocessor #MOJO_IMAGE_FILTERING_ENABLED=false at the start of your code. |
| ||
That appears not to work using html5, but is ok in glfw? that's not right is it? Also, is there a list of these pre-processor commands anywhere? Cheers Charlie |
| ||
Try to put it into the config.monkey file that is created when you build inside your build folder. |
| ||
Here a topic that discussed a little the HTML5 side of it: http://www.monkeycoder.co.nz/Community/posts.php?topic=993 |
| ||
There must be an easier way to do this rather than fiddling with browser settings/defaults. This app does it: http://www.monkeycoder.co.nz/Community/posts.php?topic=3892&app_id=194 Cheers Charlie |
| ||
You can try to use Mojo HTML5 GL to disable image filtering for HTML5 |