Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
31
Question by user-2990 (yahoo) · Jun 24, 2010 at 07:14 AM · textures

Making a texture

I've been too embarrassed to ask this question, as even noobs will laugh...

All tutorials I've seen assume the texture or material is already created and saved. But how do you actually make the texture? What resolutions should you use - what dimensions woulds, say, a skybox require - under what file type should they be saved? I know it's not nearly the best, but I'm quite familiar with Paint Shop Pro - can I use that?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image cdonlan87 · May 09, 2017 at 01:27 PM 0
Share

"noobs laugh" --generally, people who laugh at questions do not know the answers...but want to maintain some kind of air of expertise.

2 Replies

· Add your reply
  • Sort: 
avatar image
37
Best Answer

Answer by qJake · Jun 24, 2010 at 07:54 AM

You know, this actually isn't a half-bad question, and I'll add as much information as possible.

Resolution

You want your texture resolution to be as detailed as it needs to be. Large terrain textures like grass and dirt should be 512x512 or 1024x1024. Smaller assets like the texture for a grenade or bullet, something that isn't very big or something that the user doesn't see often, can be smaller, say 128x128 or even 64x64. It all depends on what level of detail you're shooting for. I would say the absolute maximum for a texture should be 1024x1024, because if you go bigger than that, you might run into memory issues. A texture can be as small as 16x16 and still look good, as well, so it's really up to you, and there is no "right answer".

File Formats

Unity imports all popular image file formats. Here are some of the most popular ones, and their benefits/drawbacks.

PNG: My personal favorite. Large filesizes, but maximum quality. PNG32 allocates 32 bytes per pixel, and saves images with the best quality. I recommend this file format over all others, but it's personal preference, really.

PNG supports transparency, but you need to ensure that the "Matte" in some programs is set to "Transparent", otherwise your transparent image will be saved with a white background, and your transparency will be lost.

JPG/JPEG: I do not recommend the JPG file format, as it automatically includes compression that can ruin the quality of your texture. If you are using JPG, be sure to set the "Quality" level to 100, or "Maximum", this way, no compression is done on the image, and you retain the highest quality. Anything lower than 100% quality, you will start to see artifacting and a huge loss of quality.

JPG does not support transparency, so if you have a transparent texture, do not save it as a JPG file. JPGs can handle large, high quality images, but only if the quality settings are set to absolute "Maximum" when saving/exporting.

GIF: I also do not recommend the GIF file format, simply because it's hard to retain maximum quality, as well. There are many different settings and alpha transparency options, and there are a lot of ways your image could be exported with poor quality settings. GIF is also 23 years old, and in my opinion, isn't up to the task of handling high-quality gaming textures.

GIF handles transparency, but not very well. Again, I don't recommend this file format.

BMP: BMP files are typically uncompressed, so their filesizes are very large. However, because they're uncompressed, they retain all of their quality. So if you don't mind dealing with huge filesizes, you could use the BMP format for textures.

The BMP file format does not work with transparent textures.

PSD: Unity will import .PSD files straight from Photoshop (it will flatten all visible layers and create a texture automatically). So, if you're working with Photoshop, this might be your best option, because .PSDs retain full image quality. Plus, when you save the image in Photoshop after you make changes, Unity's Asset Importer will automatically detect the change, and update the texture in your game, without you having to do anything. This is actually true for all textures/filetypes, but the PSD needs special notice because Unity automatically flattens all visible layers for you, so you can edit the source in Photoshop without making "export copies" or something like that, it's just easier to organize.

So my personal preference is PNG, simply because there aren't a lot of settings to mess around with, and you automatically get the highest image quality possible. That, or PSD, but I know not everyone has the luxury of being able to use Photoshop. :)

And yes, to answer your specific question, you can absolutely use Paint Shop Pro to make textures, since textures are just image files. Like I said before, if Paint Shop Pro exports/saves to PNG format, you're good to go! :)

Comment
Add comment · Show 13 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Cyclops · Jun 24, 2010 at 02:54 PM 0
Share

Yes, Paint Shop Pro saves to .png and other major formats (not .psd of course, that's Photoshop's native format). Although Unity won't read Paint Shop Pro's files automatically, so you would need to keep two copies - a native .psp with all the layers, etc, and a .png version, flattened out for Unity. But other than that, I consider PSP just fine for developing game textures. Although I just got Photoshop Elements 7 to experiment with, we'll see how they compare. :)

avatar image Eric5h5 · Jun 24, 2010 at 07:19 PM 1
Share

Even at quality level 100, JPEG still uses lossy compression (and to be extra nitpicky, the quality number is just a number, it's not a percentage). JPEG-2000 has a lossless setting; not sure if Unity can read that. I$$anonymous$$O, using .PSD is easily the best option...being able to keep the original with layers and so on, and being able to just save it, without having to fiddle with exporting or two copies or stuff like that, makes it much nicer to use when you're doing a lot of texture work.

avatar image qJake · Jun 24, 2010 at 09:29 PM 0
Share

@Eric All the more reason to use PNG/PSD, then :)

avatar image mcroswell · Apr 27, 2012 at 08:03 AM 0
Share

Gimp can now export to PSD and Unity 3.5+ reads them just fine, so I've started using this when I want to keep the layers. I also like PNG, as you all do.

avatar image McDardy · Apr 27, 2012 at 08:22 AM 0
Share

I'm using GI$$anonymous$$P and I recommend it as well as PNG format. And GI$$anonymous$$P can work with PSD format so there's no problem if one guy from the $$anonymous$$m has it and other not.

Show more comments
avatar image
0

Answer by SavaTim · Jun 13, 2019 at 02:36 PM

For Make Fast use Blender https://youtu.be/E41LVuiUSqA

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

One model with multiple textures 1 Answer

Change the alpha of part of a material or texture or applying part of a material at runtime 0 Answers

Why is my background image going in front of my sprites? 1 Answer

Make better cliff textures (general question) 1 Answer

How to Render a Sliced Sprite to a Mesh? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges