• 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 t$$anonymous$$s 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

2 Replies

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

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

You know, t$$anonymous$$s 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, somet$$anonymous$$ng that isn't very big or somet$$anonymous$$ng 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 t$$anonymous$$s 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 w$$anonymous$$te 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", t$$anonymous$$s way, no compression is done on the image, and you retain the $$anonymous$$ghest quality. Anyt$$anonymous$$ng 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, $$anonymous$$gh 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 $$anonymous$$gh-quality gaming textures.

GIF handles transparency, but not very well. Again, I don't recommend t$$anonymous$$s 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, t$$anonymous$$s 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 anyt$$anonymous$$ng. T$$anonymous$$s 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 somet$$anonymous$$ng 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 $$anonymous$$ghest 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
avatar image Eric5h5 · Jun 24, 2010 at 07:19 PM 1
Share
avatar image qJake · Jun 24, 2010 at 09:29 PM 0
Share
avatar image mcroswell · Apr 27, 2012 at 08:03 AM 0
Share
avatar image McDardy · Apr 27, 2012 at 08:22 AM 0
Share
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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

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

shaders question (3DS Max involved) 0 Answers

2D Texture Depth? (From script) 0 Answers

Import (Plz Help) 1 Answer

Instantiating material due to calling renderer.material during edit mode. 1 Answer

How to get at runtime the path of a Texture assigned in the editor ? 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