Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by diskhkme · Sep 09, 2015 at 12:07 PM · shadertransparencyeffectsprojectordecals

Best way to achieve color by data?

alt text

Hi, do you guys have any opinion about fast way to generate geometry with color values from data?

I found above picture, which looks most similar with what I want to achieve,

while my 3D model is not a sphere(rather cone-like shape), and it should be semitransparent.

I'm considering two options, projector/decals or shader programming.

The problem of shader programming is that the geometry might be too complex,

so that It might be hard to formulate the surface color of intended position...

The problem of projector/decals is that I'm not sure if I can get fancy looking result from those methods, and I cannot take a risk to purchase assets..

Is there anyone who can advise me?

unavco-idv-tomog-rem-hr-4deg-tomography.jpg (207.9 kB)
Comment
Add comment · Show 6
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 Scribe · Sep 09, 2015 at 12:17 PM 0
Share

Could you bake a texture from your data, with the mapping of the alpha and colour, then just apply it to a translucent material on an object? Does it need to be animated?

avatar image diskhkme Scribe · Sep 10, 2015 at 12:11 AM 0
Share

Yes it should be animated...but not much. See the picture in my reply below. The dividing region should be changed dynamically.

avatar image tanoshimi · Sep 09, 2015 at 12:20 PM 0
Share

What do you mean by "the problem of shader program$$anonymous$$g is that the geometry might be too complex"? All geometry is sent to a shader program in order to be drawn on the screen, so I can't think of how a geometry could be too complex.

avatar image Raresh tanoshimi · Sep 09, 2015 at 01:50 PM 0
Share

You will have to write a custom shader, and you will pull your hair out.

avatar image diskhkme Raresh · Sep 10, 2015 at 12:12 AM 0
Share

Thanks a lot...

avatar image diskhkme tanoshimi · Sep 10, 2015 at 12:09 AM 0
Share

Let's say that there is a cone model and I want to color it with 3 different colors through length direction.(like below) Is it will be easy to make intended effect as I described? If yes and from the comment of Raresh, I think I should program the Shader. I just wanted to listen your opinion.alt text

tmp.jpg (12.9 kB)

0 Replies

· Add your reply
  • Sort: 

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Glass Shader problems 0 Answers

Shader not working properly in a build 0 Answers

See terrain trough water 0 Answers

Transparent shader does not appear solid with alpha 1 0 Answers

VFX Particles doesnt appear 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