x


Why does bump map shaders on other objects glitch planar reflection(water 4)?

here again, with an unusual bug with Water 4, which im using since its the only decent water I can use that's not Plasticine. (transparent shaders don't cut) , it worked great until all of a sudden glitches with the planar reflection. here; alt text

If you look at the horizon of the water you will notice a weird bump-map like pattern, the large dark obelisk on the left is the object with a bump map shader. after some debugging, the weird color distortion in the refection are normal maps coming from other objects. All I know that it only occurs when the object with the normal map is visible, and glitches with the furthest one from the main camera. the glitches starts from the horizon and fades out as it works towards the camera. does anyone know about this? or know any work around's for this Issue? I've trying to figure this out so i can fix it. here's the Scene without the Obelisk; alt text

I'm using Unity basic but if that was the problem there would not be anything thing reflecting in the water.

My Scene includes: Water4, WaterReflectionCamera, FPSController (I use for testing levels), Obelisk, and an invisible plane with a collider 1 meter below the surface.

The settings of the water are standard bar the Gerstner displacement which practically has little to do with the reflecting process.I like water4 but I think bump maps are quite necessary. whether planar reflection itself or the water4 shader is responsible, I'm unsure whats going here, it may have something to do with the ref camera capturing the normal maps for some reason and not displaying them correctly but i can't clarify this.

heres a test build... https://www.dropbox.com/sh/j6u3mkh3s5eot86/QZp7pBWuj

more ▼

asked Apr 29 '13 at 11:28 AM

Fornoreason1000 gravatar image

Fornoreason1000
2.2k 3 8 11

great question

May 01 '13 at 06:46 PM Fattie

that scene looks great. very nice lighting.

May 01 '13 at 06:46 PM Fattie

there are no lights, im not sure where the shine on the water even comes from. lol

May 01 '13 at 06:49 PM Fornoreason1000

lol sure .. i just meant in general terms your coloring etc (lighting in the film scene sense) is nice, looks great! I want to play the game. I like the ominous foreground objects. Anyway back to the tech woes ...

May 01 '13 at 07:03 PM Fattie

added a test play... in case people are unclear what is happening. when you start the game you'll noticed it straight away

May 02 '13 at 07:04 AM Fornoreason1000
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
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:

x396
x175
x60
x22
x8

asked: Apr 29 '13 at 11:28 AM

Seen: 903 times

Last Updated: Dec 11 '13 at 01:41 PM