AimplainLeo / osgocean

Automatically exported from code.google.com/p/osgocean
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Bump mapping incorrect on surface #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The bump mapping on the surface looks poor at certain angles. Cloudy effect.

water.f, water.v

Object space bump mapping should be fine here as I average the normal maps
into the vertex normal.

Could be the normal maps, the noise coords or the shader code itself.

Original issue reported on code.google.com by kcb...@googlemail.com on 5 May 2009 at 4:22

GoogleCodeExporter commented 9 years ago
Looks much better now, not sure what you changed but I think this issue can be 
closed
(unless I'm just not seeing it).

Original comment by jean.sebastien.guay13@gmail.com on 12 Jun 2009 at 1:27

GoogleCodeExporter commented 9 years ago
Texture coordinate for the noise maps were flipped on the y axis.
Shader modified.

Original comment by kcb...@googlemail.com on 12 Jun 2009 at 2:10