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 Alex 23 · Apr 29, 2011 at 07:49 PM · graphicsalphamayaalpha-channel

Alpha Channel: Want a gradient blend fade of transparency using Targa with alpha Channel

I have a cone of light that I want to use for a lighthouse:

Using alpha channels with a grey to white gradient shape in the alpha channel. I am using photoshop to create rgb texture with a alpha channel and saving as a targa file.

I attempting changing the shader in Unity to transparent/cutout/diffuse but that proved unfruitful.

I want the rotating cone to start as visible and fade to invisible.

Made and exported to fbx using maya

I used that material but when I start the scene in unity the entire cone is still visible. Here is what I am looking at and the setting being used.

http://www.flickr.com/photos/47648476@N06/5665855892/in/photostream/lightbox/

http://www.flickr.com/photos/47648476@N06/5665855958/in/photostream/lightbox/

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by DaveA · Apr 29, 2011 at 07:56 PM

I don't know about Targa (I would think it should work), have you verified that the alpha channel is AOK in the bitmap file itself? Can you try PNG?

Also, for light, I think you might want Unlit/Transparent or maybe some kinda Self-Illum. with transparency. Diffuse is just going to have light bouncing off of your light beam.

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 Alex 23 · Apr 29, 2011 at 09:35 PM 0
Share

for the environment that it will be in I won't need it to actually cast out light, I just want a visual to further show it's a lighthouse. Also, what exactly do you mean verify if the alpha channel is O$$anonymous$$. I know that it works how I want it to in maya, that's about how far I went to check if it was ok.

avatar image DaveA · Apr 29, 2011 at 09:43 PM 0
Share

I mean, if you load it in photoshop or some other image viewer, does it look like you expect?

avatar image Alex 23 · Apr 29, 2011 at 11:24 PM 0
Share

just the texture or export the model to view in photoshop?

avatar image DaveA · Apr 30, 2011 at 12:16 AM 0
Share

Just the texture. Did you hand craft the texture in photoshop, or was it generated by $$anonymous$$aya? Or maybe you can post the targa file and I can take a quick look at it for you.

avatar image Alex 23 · May 01, 2011 at 10:26 PM 0
Share

I made it in photoshop. here is a screen of the rgb channels: http://www.flickr.com/photos/47648476@N06/5677714090/lightbox/ and here is a screen of the alpha channel: http://www.flickr.com/photos/47648476@N06/5677714108/lightbox/

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

No one has followed this question yet.

Related Questions

A node in a childnode? 1 Answer

Want to share an animation in between 2 different models but how? 1 Answer

Object see-through when rendering mode is set to Fade 1 Answer

Unity isn't recognizing Maya 2010 .mb file? 5 Answers

bake animation from maya to unity ? 1 Answer


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