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 /
avatar image
2
Question by MafiaMoe · Mar 13, 2017 at 12:34 AM · shadowglobal illumination

Is it possible to have light though a transparent material 'pick up' the color of that object?

To begin, I am a huge fan of what Global Illimination brings to the table as far as making objects feel like they actually exist within a tangible world. However, I find the current lighting/shadow systems a little lacking when it comes to transparent materials.

First, light shining through a transparent material does not pick up the color of the transparent material. In real life, light shining through any colored acrylic will cast a 'colored shadow' on the ground of the light that was able to pass through. After all my searching a 'check box' or simple procedure to simulate this effect has eluded me.

Second, GI does not fully take into account transparent colors in the GI calculation. I have figured out how to make transparent objects still be calculated in the GI system, by putting a Transparent lightmap parameter on that object. To my surprise, 'bounced' light does not take into account the color of the transparent object it passed through to make it between the surfaces.

alt text Top left: Showing GI working with direct light 'bouncing' off front surface Top right: Showing GI not taking into account transparent materials in between surfaces that light is bouncing Bottom: Shadows not taking on the color of the transparent material after passing through

I can 'fake' some of this effect by using multiple spot lights, but it does not fix scenarios such as a 'sun' light. I am wondering, is there is a possible way to simulate this lighting effect (through a different shadow system?) while still making use of GI? Is there a way to augment the GI lighting parameters to take into account transparent colors? I realize this may take months to nail down and could involve feature requests. Thank you for any help in pointing/advising me in the right direction!

alt text Top: Faked bouncing light, but the sun light isn't taking on the purple hue so the majority of the corridor is being GI lit by bouncing mostly white light around. Bottom: Faked setup using a shallow green spot light and a further-reaching purple light.

illumination-picture-faked.png (350.8 kB)
illumination-picture-issues-2.png (521.4 kB)
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

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

65 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

Related Questions

Translucent shadows 0 Answers

Invisible Emissive GameObject? 0 Answers

Baked lights with realtime directional shadows? 1 Answer

Detect light or shadow falling on player 1 Answer

Shadow artifacts on Android 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