if you want to do that in real time you should write your own shader for that. As i remember minko offers quite good solution for that.. a shader language so you can write them in as3, so no AGAL. Other idea is to set viewport antialias to 0. If it could be done by setting antialias to -5 your problem could be solved super easy :)
pixel size in FLEX Stage 3D
-
27-11-2021 - |
Question
I'm trying to do some pixel art using FLEX Stage 3D (with minko engine). I want a pixel size on the viewport of 4 "real pixels".
I think I'm not being very clear, so lets have an example. This is what I have now :
And this is what I want to have (so it looks like pixel art).
The point is that I have absolutely no idea how I should do. I've tried re-sizing the viewport down and up, unsuccessfully.
Any idea will be very welcomed.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow