x


Why do shadows make my and Directional Light switch on and off?

Depending on my view of the geometry my directional light seems to be switching on an off? This only happens when shadows are enabled.. if i disable shadows then the models lighting is fine. Any ideas what the cause could be?

[Update] Have changed all shadow settings has no influence. I've Manouvered to a position in my model where the direction light switches off and disabled shadows which lights up the scene. It seems to be something with the shaders and transparency (i think).

I have a water shader in the scene if I disable that to a diffuse shader then the whole scene lights up again whereas switching it to a transparent/diffuse shader then out goes my directional light.. it doesn't affect a point light or spot light.

A transparent/cutout/diffuse doesnt affect the light??? [/Update]

more ▼

asked Aug 31 '10 at 10:22 AM

ikriz gravatar image

ikriz
132 6 8 18

Could this possibly be related to the water script in the standard assets?

Aug 31 '10 at 11:53 AM ikriz
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Try changing shadow settings in quality settings.

more ▼

answered Aug 31 '10 at 01:06 PM

AliAzin gravatar image

AliAzin
2.5k 41 56 79

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1655
x427
x170
x28

asked: Aug 31 '10 at 10:22 AM

Seen: 1500 times

Last Updated: Sep 03 '10 at 07:35 AM