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
2
Question by Catsby · Jan 08, 2011 at 12:54 AM · 2dspritecube

Texture on one face of a cube

Hey everyone,

I'm trying to figure out how to texture one side of a cube. I first tried to make the cube really thin and did a transparent diffuse on it but occasionally you can see pixels on other sides.

Also, is there a better easy way to get the illusion of an animated 2D Sprite than putting the animated texture on the side of a cube?

thanks!

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 Miaw666 · May 12, 2020 at 10:58 AM 0
Share

Still looking for an easy but not so good for how the game runs answer?

4 Replies

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

Answer by Eric5h5 · Jan 08, 2011 at 12:58 AM

UV map the cube the way you want in a 3D app. For a sprite, it would be better to put it on a quad, either made procedurally or in a 3D app.

Comment
Add comment · Show 5 · 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 Catsby · Jan 08, 2011 at 01:00 AM 0
Share

I don't understand...

avatar image Catsby · Jan 08, 2011 at 01:00 AM 0
Share

Whoops forgot to add that I have a script on the cube currently to animate the texture.

avatar image Jessy · Jan 08, 2011 at 01:15 AM 1
Share

You really should understand modeling and UVs before you try to animate textures.

avatar image Catsby · Jan 08, 2011 at 01:25 AM 0
Share

I don't have any applications for UV mapping stuff(that I know of). I was curious if there are ways of putting a texture on one side of cubes that you make in unity.

avatar image Eric5h5 · Jan 08, 2011 at 02:51 AM 2
Share

Unity is not a modeling app; you really need one if you're going to do anything with Unity, unless you plan on doing everything in code.

avatar image
3

Answer by Jason B · Jan 08, 2011 at 03:41 AM

No point in "faking" a sprite with a cube. Just use a plane instead. It only has one polygon.

Comment
Add comment · Show 2 · 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 Jessy · Jan 08, 2011 at 04:20 AM 2
Share

Two. Unity only uses triangles. Still, quads are generally a lot easier to deal with, for simulating 2D.

avatar image abyboyganteng · Mar 06, 2021 at 11:48 AM 0
Share

if I know correctly, the plane has 200 polygon/triangle. quad has only 2

avatar image
0

Answer by Justin Warner · Jan 08, 2011 at 01:22 AM

Get a 3D application, like 3Ds Max, Blender for free.

UV map it (www.google.com), and then you want to apply the texture as the UV map... Then you can alter it that way.

Comment
Add comment · Show 2 · 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 Catsby · Jan 08, 2011 at 01:33 AM 0
Share

are there any other good methods for faking a 2D sprite?

avatar image Justin Warner · Jan 08, 2011 at 03:45 AM 0
Share

What Jason said, and make it auto-rotate it to you. but isntantly... Look up some things on goog,e I know torando twins did soemthing on it.

avatar image
0

Answer by oLDo · Apr 26, 2018 at 10:05 AM

What about adding quad/plane inside of cube, set the position and texture it?

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

2D Games in Unity3D? 1 Answer

2D Level Design (programmatically or not) 1 Answer

sprite vs texture 1 Answer

How do I transform the position of my cube AWAY from the larger cube its attached to? 0 Answers

Animating a 2D character with this type of sprite 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