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
0
Question by stan4u · Mar 02, 2013 at 08:42 PM · renderingshadersplane3dtext

planes and text rendering order

Hi,

I've got in 3D scene some planes (buttons and pictures) and 3D text meshes. All are overlaid on top of each other but as camera moves around and closer or farer rendering order is changing and texts are randomly rendered in front or behind of picture planes and button planes are behaving similar. I made difference in distance to camera between objects as big as possible but still reasonable (unnoticed) values. Also did set far and near planes on camera to acceptable level. None of these helped. From what I read it is something to do with shaders? These are shaders I'm using. Picture prefab plane has material with shader Unlit/Transparent Button prefab is made of 2 planes, Background and Foreground while Foreground is using Unlit/Transparent and background is using custom AlphaSelfIllum shader I downloaded from somewhere to get shader which is self illum with alpha and let define material colour. Lastly the text is using standard 3D text shader, or I also tried this one http://wiki.unity3d.com/index.php?title=3DText

I have no knowledge of shaders in coding part, what should I do to make these elements to render always in correct order respecting the distance from camera when moving camera around the scene?

thanks for your help.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
-1

Answer by leoNERDo · Jan 27, 2014 at 03:17 AM

Hi, I know this is an old post, but I'm having the exact problem. A plane with an texture set to transparent/diffuse and on top of it some 3DText. Any suggestions ?

Thanks.

Comment
Add comment · Show 1 · 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 getyour411 · Jan 27, 2014 at 03:18 AM 0
Share
  1. Please don't post an update/comment as an Answer as you've done here.

avatar image
0

Answer by stan4u · Jan 27, 2014 at 08:28 AM

Hi, for texts I was able to resolve ordering issue with using shader with z order. How ever there is another issue with it I could not resolve which is if you look on the text on top of planes from different angles, than from some angles all looks good but from other there are transparent squares cut in below planes around each letter of the text. This looks horrible and stried milion shaders but could not get over.

Finally I changed default 3d text to Flying text plugin http://forum.unity3d.com/threads/139428-FlyingText3D-Real-dynamic-3D-text-from-TrueType-fonts

It works great on mobiles, it can be created on the fly and generates real mesh texts, so any shader can be used on it. Has great control over it can be really 3D, and it support rich text as well.

great plugin

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

10 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

Related Questions

How to make a custom GrabPass-like sampler2D in MRT shader? 0 Answers

Material with custom shader black on Android (Lightweight Render Pipeline) 0 Answers

Limiting player view dependent on position and obstacles 0 Answers

Objects turning white 2 Answers

Objects affected by fog at different distances 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