x


Directional Light Shadows with Cookies

Hi. Is it possible to have a directional light with both a tiled cookie and shadows? Without the cookie I get the shadow fine, but when I add a cookie I no longer get shadows. I am using the light/cookie for underwater caustics, but it doesnt look right for shadowed areas.

Thanks for any help

more ▼

asked Oct 13 '10 at 12:54 AM

Geoff 3 gravatar image

Geoff 3
2 3 3 7

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I found out! :D

  1. You have to set up one or more lights to drop shadows. Any light will do fine.

  2. Click on it, and select a shadow type from "No Shadows" to "Hard Shadows" or "Soft Shadows".

  3. Go to "Edit>Project Settings>Player", and click on "Other Settings" at the bottom of the Inspector. Now look for "Rendering Path*" and change it from "Forward" to "Deferred Lighting".

It will also work with with all kinds of lights :)

more ▼

answered Apr 23 '12 at 10:00 PM

LukaKotar gravatar image

LukaKotar
731 29 48 54

(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:

x427
x217
x28
x19

asked: Oct 13 '10 at 12:54 AM

Seen: 1444 times

Last Updated: Apr 23 '12 at 10:00 PM