ematchefts / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Defect in water shader #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. launch test island
2. move backwards from the island for about 2 minutes

What is the expected output? What do you see instead?
I expect to see the water as it has been rendered for the past 2 minutes and 
I mostly do see that it's just small black blobs appear at random

What version of the product are you using? On what operating system?
jME2 on windows vista

Please provide any additional information below.

Original issue reported on code.google.com by lewis.cowles.1986@gmail.com on 5 May 2010 at 2:31

Attachments:

GoogleCodeExporter commented 8 years ago
When you move for 2 minutes in one direction the inaccuracy of the 32bit floats 
themselves will cause funny 
effects. Since your location is stored with 32bit floats the computation of 
reflection etc. values will become 
impossible when the float is very large/inaccurate. This test is not meant to 
be a simulation of procedural 
"endless" terrain or something, so this can be considered normal.

Original comment by normen667 on 5 May 2010 at 2:43