Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 Mehrdad995 · Jan 25, 2018 at 05:50 PM · shaderrenderinggraphicsshaderlabvisual

Object Emision while behind a black glass

Hi community,

I'verecently faced a minor issue on my project.

my car has a black tinted glass for its headlights. the problem is that, no matter how bright I make the headlights, it still gonna get multiplied to the glass tint which is normal, but end up killing their emission (brightness).

is there any way possible to keep them as bright as when they are not behind any other object?
I don't want to render the headlight over the glass by changing its render queue because the glass has reflections on it.

can I render the emissive part over the glass or by any way make it inaffectable by the glass tint?

thanks in advance. first image second image

Comment
Add comment · Show 1
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 sctiendat · Jun 22, 2021 at 04:32 AM 0
Share

@Mehrdad995 Hello, I'm having a same problem. Do you have any solution for this now?

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by KittenSnipes · Jan 25, 2018 at 09:04 PM

@Mehrdad995

For the transparency thing, if you create a new lightmap parameter and assign it to your glass, you have a checkbox that says Is Transparent. I have not tried it, but I guess light will travel through it that way. Maybe change the glass to non static and see if it works. I am not an expert on these sort of things but maybe my suggestions can help possibly lead you in the right direction. Cheers mate.

Comment
Add comment · Show 2 · 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 Mehrdad995 · Jan 26, 2018 at 10:42 AM 0
Share

@$$anonymous$$ittenSnipes

thanks a lot for the help,

I didn't mean the lightmap but the headlight's objects visual, in fact, it's not even a light but an object with emission on it. for the lightmapping, there must be no problem as long as the glass is not double sided ;)

avatar image KittenSnipes Mehrdad995 · Jan 26, 2018 at 10:46 AM 1
Share

@$$anonymous$$ehrdad995

Well I gave it my best shot. Hopefully someone can help you out because I am still pretty inexperienced with Unity. Cheers mate.

avatar image
0

Answer by Buckslice · Jan 25, 2018 at 09:38 PM

If you are using the standard shader, just crank up the 'Current Brightness' setting in the Emission color picker to a value past 1.

Comment
Add comment · Show 3 · 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 Mehrdad995 · Jan 26, 2018 at 11:02 AM 0
Share

Thanks @Buckslice for the help,
but unfortunately it didn't work ;( assigned the standard shader to both glass and the light objects,
then increased the headlight's material brightness to its maximum (99)
no difference, the outcome is still the same I'm impressed how Rockstar has done it in GTA SA first image second image third image forth image

avatar image Buckslice Mehrdad995 · Jan 26, 2018 at 07:58 PM 1
Share

Hmmm, is your camera set to render in HDR?

avatar image Mehrdad995 Buckslice · Jan 27, 2018 at 03:13 PM 0
Share

@Buckslice
it wasn't in screenshots but changing it to HDR didn't help ;(
seems there is no easy solution to it
currently, I've decided to fake it by enabling a glow sprite in front of the light while it's supposed to be on.

thanks for the support again (^..^)

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

131 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 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

How to access another sprite's texture from a 2D shader 0 Answers

Would learning some GLSL help with Unity Shading? 1 Answer

Shadow Support in Custom Shader 0 Answers

i updated my old hdrp project to unity 2019.3f6 but i cant see any graphics 0 Answers

PBR Standard Shader not Working Project Wide in Unity 5.3 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