• 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 Seyroth · Apr 02, 2017 at 09:56 AM · terrainlightinglightspotlight

Terrain not being lit on the +x axis

Hi,

I'm making a night driving prototype and the spotlight acting as my car's headlight refuses to light my terrain on the +x axis. Here's how it looks:

alt text

My headlights are moving properly with the car's chassis (they're parented) but only casts light on terrain on the -x axis, not the +x. On the screencap, if I turn the car so it aligns with the +x axis, no light is visible on the terrain. If I align with -x, the spotlight works properly.

I've tried countless parameter tweaks so it would work but the only thing that fixes it is displaying the base map distance at 0 on the terrain parameters. Problem is the texture then obviously disappears and I'm left with a plain green color. Said texture is a regular RGBA grass texture with a plain grey alpha channel.

Does anyone know why would this happen?

terrainlighting.jpg (79.0 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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Light goes Through Terrain. Help? 1 Answer

What is causing Terrain to improperly respond to point lights? 0 Answers

Dynamic spotlight always facing one way and not its GameObject's 0 Answers

Poor spotlight gradient in Unity 1 Answer

I can't get a spotlight to work properly in Unity. 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges