AimplainLeo / osgocean

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

Implicit conversion #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
worldVertex is vec4
param is vec3

Offending function:
computeScattering( osgOcean_Eye, worldVertex, vExtinction, vInScattering);

Found in:
default_scene.vert
OceanScene default_scene local shader
terrain.vert

Original issue reported on code.google.com by kcb...@googlemail.com on 17 Jun 2009 at 3:06

GoogleCodeExporter commented 9 years ago
Added the xyz twizzle to worldVertex in 

default_scene.vert
OceanScene default_scene local shader

computeScattering( osgOcean_Eye, worldVertex.xyz, vExtinction, vInScattering);

Was already fixed in terrain.vert.

Original comment by kcb...@googlemail.com on 17 Jun 2009 at 7:54