x


Dark light cookie

Hi,

Anybody knows if it is possible to create a light cookie that has "negative light"? I want to use a light cookie to darken some specific game areas, and I want to make this by using a light so it's get baked on the beast lightning. I've thought of using projectors, but this won't get baked in the beast lightning.

Any ideas?

more ▼

asked Oct 19 '11 at 12:27 AM

tiagomelobr gravatar image

tiagomelobr
71 4 4 5

Ah yes, negative light- something which can only work in virtual environments. I'm not sure if Unity supports anything like this, but I'm no expert.

Oct 19 '11 at 12:40 AM syclamoth
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Unity doesn't support 'negative light.' There are a number of posts on the forum talking about different ways to get the same effect, but since you're trying to bake the color in they may or may not help you. Just a thought: could you bake the scene, then add your cookie and have it project positive / normal light (which you then bake to a second series of images), and then do the darkening in Photoshop? Just do a difference on the baked lightmap(s) containing your cookie vs the original lightmaps without, and then apply the difference as a subtraction to your original lightmap - presto, instant darkness.

more ▼

answered Oct 19 '11 at 12:44 AM

Julien.Lynge gravatar image

Julien.Lynge
7.3k 20 25 49

Thanks mate, this seems like a good choice! I'll try this!

Oct 19 '11 at 04:41 PM tiagomelobr
(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:

x425
x327
x42
x30
x11

asked: Oct 19 '11 at 12:27 AM

Seen: 1030 times

Last Updated: Oct 19 '11 at 04:41 PM