Change MOJO_IMAGE_FILTERING_ENABLED at runtime

Monkey Forums/Monkey Programming/Change MOJO_IMAGE_FILTERING_ENABLED at runtime

Winterstein(Posted 2013) [#1]
The title says it all. Is it possible?

I would like to have the control over which graphics are "filtered" and which are not.

And I am NOT able to solve this problem by having the "blur" effect in the source images.

Thanks in advance!


slenkar(Posted 2013) [#2]
I suppose its possible but you will probly have to do it yourself,
which platforms do you want it for?

flash is easy cos drawpixels has an argument to enable it

I dont think it can be turned off for html5 last time I looked into it


AdamRedwoods(Posted 2013) [#3]
i don't think Mojo has the ability to change filtering per image. to get it to work, you would have to hack Mojo per target.

(minib3d allows individual texture filtering, but that is a different beast.)


Winterstein(Posted 2013) [#4]
Thanks for the answers.

I mainly need the mobile targets and the XNA target. I already assumed the worst (like changing the mojo targets) so I'll give it a try.


therevills(Posted 2013) [#5]
Check here for tips, its out of date (due to the new format of Monkey/Mojo), but should be useful:

http://www.monkeycoder.co.nz/Community/posts.php?topic=993

Demo:
http://www.therevillsgames.com/monkey/Filtering/index.html


Winterstein(Posted 2013) [#6]
@therevills

Great, thanks!