x


Spot Light Against Terrain

I have a typical directional light behind the camera for the scene. My character object has a spot light attached to it, so if I click on the screen the light is activated. I wanted to simulate a night time lighting, but if I turn down the intensity of the directional light really low and activate my spot light on the character it will fully highlight a single tile the spot light is making contact with.

So if I move around with the spotlight activate it will highlight each tile like Im Michael Jackson in his music video where where the floor beneath him lights up as he walks. =D

Strangely, it doesnt do this in some spots of the terrain as I move around and in other spots its several tiles at once.

I could imagine other people have had this same situation...is there any way around this?

more ▼

asked May 01 '12 at 04:00 AM

GC1983 gravatar image

GC1983
540 18 33 44

Is your texture stretched at all?

May 01 '12 at 04:06 AM -hiTo-

I have the texture set to 25 x 25.

May 01 '12 at 04:21 AM GC1983

What I'm thinking is that the light mapping is askew on some of the areas. Because the texture is stretched, compared to the area it's fitted on. http://home.comcast.net/~sarahjake/lightmap2.gif

May 01 '12 at 04:30 AM -hiTo-

So then how do I get stop it from doing this?

May 01 '12 at 04:57 PM GC1983

Try setting the mode on your spotlight to 'important'. This will ensure that it is always rendering in pixel mode.

May 02 '12 at 04:58 AM syclamoth
(comments are locked)
10|3000 characters needed characters left

0 answers: sort oldest
Be the first one to answer this question
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

asked: May 01 '12 at 04:00 AM

Seen: 416 times

Last Updated: May 03 '12 at 01:39 AM