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
-1
Question by Zitoox · Oct 23, 2016 at 12:45 AM · terrainlightingissuegrass

Grass is being affected by light

Okay, so... I have seen a lot of different topics about "How to make the grass be affected by light", but i think i am the first (I THINK) to ask the inverse.

Have a look at these images: alt text alt text The first image is when the game isn't rendered. The second is when it is rendered. As you see, i have some point lights in my "police cars" <- don't know the name. They have let's say a blinking animation, what makes them... well... blink. The problem is that they are affecting my grass, making it ridiculously bright. Any idea of how to remove this thing? I've tried changing the terrain's tag to Terrain and then unselecting it in the lights culling mask and reducing the light's range.

notrendered.png (332.7 kB)
rendered.png (379.5 kB)
Comment
Add comment · Show 9
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 OusedGames · Oct 23, 2016 at 01:19 AM 0
Share

Did you rebake your light$$anonymous$$aps after your changes to correct the issue? At the lightning Window

avatar image Zitoox OusedGames · Oct 23, 2016 at 02:52 AM -1
Share

Yeah, it doesn't change anything.

avatar image Namey5 · Oct 23, 2016 at 05:50 AM 1
Share

I suppose you could remove point/spot light support in the grass shader, but this would also remove support for any other point/spot lights. What do you mean by "when the game isn't rendered"? The game is always being rendered.

avatar image Zitoox Namey5 · Oct 23, 2016 at 06:06 PM -1
Share

How do i do that? I am fine with making this. These are the only point lights that i have in my scene. The only other light that i have is a directional.

avatar image tanoshimi · Oct 23, 2016 at 06:36 AM 0
Share

I don't follow how your screenshots match your description... it looks like when your police lights flash on the grass is darker (top screen) and when they flash off the grass becomes lighter (bottom screen)? What does "not rendered" mean?

Are you using forward or deferred rendering path? What's your pixel light quality count? How many other lights are in the scene? What importance do the police lights have?

avatar image Zitoox tanoshimi · Oct 23, 2016 at 05:49 PM -1
Share

I don't know HOW to describe it, so here it goes... I am talking like... when you open a scene or click on play mode, the engine will render the scene or something, right? Baking lights and all.

The first image is of me playing my scene WHEN IT IS NOT RENDERED. The second image is when i am playing WHEN IT IS RENDERED. The only difference is that i accidentally took a print when it wasn't flashing so it appears that it isn't, but i just took it in the exact moment that it was blinking.

The police lights are just for visual effects. They are supposed to make the police vehicles appear more realistic. I have 12 point lights attached to an empty game object named "Police Siren". The pixel light count is 4. I THIN$$anonymous$$ that the problem is that somehow, something in the lights is making the grass' bright too high. You can easily see that by looking at the second picture. The trees' shadows doesn't affect the grass.

avatar image Zitoox Zitoox · Oct 23, 2016 at 06:10 PM -1
Share

Hm... I don't know what happened, but changing the lights' intensity to 0 and then changing the shadow type somehow fixed it. I don't know how the lights are still making the siren effect if they don't have any intensity, but it does. I am not going to touch in this thing anymore xD

I think the question is solved. Do you guys know why they still work? Anyway, thanks for helping me =)

Show more comments
avatar image Zitoox · Oct 23, 2016 at 08:05 PM -1
Share

Why, what's the problem? No. I said that i have 12 in total. 2 per car. WOW! 12 for each car? I am going to test it just to see what happens. Seems pretty interesting!

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

79 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

Related Questions

Can see objects through grass 1 Answer

Cascade shadows leave black lines effect on grass 2 Answers

Weird terrain grass and spotlight interaction 1 Answer

Grass doesn't sway in build 0 Answers

Baking terrain with 2k HM resolution 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