• 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 Soulice · Nov 29, 2017 at 07:42 PM · glow

Glow or Emit from behind opaque material texture/mesh

I have a cube with a material on it. I have put some "holes" in it in random places in photoshop, exposing the transparent background. I would like to have the cube emit a glow but only have it come through the transparent "holes" on the material. Is this possible and if so, how?

I tried setting an emitter with a red glow, but the whole cube glows, material and all.

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
Best Answer

Answer by Buckslice · Nov 29, 2017 at 07:59 PM

Make an emission mask texture and assign it in the material. White areas on the texture would mean 100% emission and black would be 0% emission with gray values in between.

Comment
Add comment · Show 9 · 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 Soulice · Nov 30, 2017 at 12:11 AM 0
Share

Thanks, will give it a try and post results.

avatar image Soulice · Nov 30, 2017 at 01:24 AM 0
Share

Ok, added a texture to the Emission field, set the color to red. The texture has white in one area and the rest is black. On the Albedo texture, I have transparent holes where the white is on the emission texture. I get a very, very faint pink and not completely sure it is not my eyes playing tricks on me. Thoughts?

avatar image Buckslice Soulice · Nov 30, 2017 at 01:30 AM 0
Share

hmmmm post some pics maybe?

avatar image Buckslice Soulice · Nov 30, 2017 at 01:39 AM 0
Share

Set the material rendering mode to Transparent if its not

avatar image Soulice Buckslice · Nov 30, 2017 at 01:46 AM 0
Share

Rendering mode to Transparent did the trick, but now you can see all the way through it. I am in a 3rd person camera position and the transparent space now shows red (would like more ummph though, more glow) but I can see things on the ground flicker in it.

Show more comments
avatar image
1

Answer by JonPQ · Nov 30, 2017 at 08:03 PM

If you are on PC, add a full screen post process effect... this will add glow and fuzzy "bloom" to all of the bright areas on the screen. as long as you render your "holes" with the bright color (bright emissive on the holes), you'll get nice glow that will even bleed out above the surface of the cube when viewed from a shallow angle. UNity has built in bloom (in 'post process stack'), or many on the asset store also.

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

73 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Imported 3D model is not textured, whereas it should be... what should I do? 1 Answer

magic glow? 2 Answers

How to make a particle system do light rays 1 Answer

Glow-like effects and WebCamTextures 0 Answers

adding glow effect to certain part of texture 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