x


projector causing flicker

My game pieces and board spaces all have "iphone/lightmap/lightmap only" materials with white lightmaps. I'm projecting a large mood lighting shadow over the board. When the pieces are sitting on the spaces there is a flicker on the space material, but not the piece material. If the piece is moved to another position, that new space will flicker and the previous one will stop flickering.

It doesn't matter if I use a highlight or multiply projector. It stops flickering when my overhead camera stops moving, but the artifacts of the flicking are usually still on the spaces. A static camera that doesn't move doesn't cause any flickering.

The flickering is the worse at the outside edges of the board. That may be because the camera always looks at the center of the board as it tilts to follow the iPad tilt.

I've got other shadow projectors with the same shader for casting moving shadows on the pieces and spaces below the floating piece, but those don't cause any flickering.

I extended my camera's near clipping past where it was unusable to see if that would help with z-buffer precision, but it didn't seem to make a difference.

Has anyone run into this problem or have any ideas?

more ▼

asked May 30 '10 at 12:24 AM

sharmoni gravatar image

sharmoni
31 2 3 10

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

1 answer: sort voted first

I still don't know what this was about, but I hacked around it by using instances of materials loaded from mirror objects.

more ▼

answered Jun 06 '10 at 03:54 AM

sharmoni gravatar image

sharmoni
31 2 3 10

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

x2984
x216
x109
x46

asked: May 30 '10 at 12:24 AM

Seen: 1758 times

Last Updated: May 30 '10 at 12:24 AM