- Home /
Directional Light on Terrain
So i have two directional lights, how can i make them not effect the terrain?, so the lights don't change the terrain, i'm only using it for certain objects..
Thanks
everyona has a problem with the light not affecting the terain and yours does?
Answer by moghes · Jun 05, 2012 at 01:40 PM
Somehow similar to the camera concept, its easy:) so you have to set a seperate layer for you terrain. Click on your terrain in the hierarchy and in the inspector at the top you have the Layer property which is set to default, expand the dropdown and select add layer, name a layer(layer 9 will be empty if you have not added any one yet) then click again on the terrain to set the terrain layer to the one you just created. Then click on the directional light in the heirarchy and in the inspector you must see a property named culling mask. expand the culling mask dropdown and deselect the newly added layer which has the terrain.