-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoadImage doesn't preserve image's size #21
Comments
Hmmm... looking at it closer, maybe I'm wrong. Perhaps Unity is doing it? Let me look closer. |
My bad. It's Unity3D forcing my image into a power of two size. I had to set the "Texture Type" to "Advance" and then the "Non Power of 2" to "None". |
Yep, Unity will automatically force your texture to NPOT. (and it's worth mentioning that it's highly recommended to use POT atlases instead, the difference in performance will be HUGE) |
Yeah, I was just trying to make the tutorial as small and fast as possible. Then later they can explore issues like performance and Atlases. |
Cool, sounds good, thanks for making that tutorial! On Fri, Aug 31, 2012 at 2:55 PM, Philip Ludington
|
I wrote a small tutorial with the goal of minimizing the steps need to get Futile up and running. So, I use the LoadImage method instead of taking all the steps need to set up an Atlas. In my example, the image is rendered distorted. Here's the tutorial: http://www.mrphilgames.com/futile-quick-start/ and here's the code: https://gist.github.com/3521647
The text was updated successfully, but these errors were encountered: