- Timestamp:
- 09/02/06 16:27:42 (7 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgshaderterrain/osgshaderterrain.cpp
r5381 r5519 580 580 " position.x = gl_Vertex.x;\n" 581 581 " position.y = gl_Vertex.y;\n" 582 " float zscale = 0.99;\n"583 " position. z = texture2D(terrainTexture, texcoord).r * zscale;\n"582 " position.z = texture2D(terrainTexture, texcoord).r;\n" 583 " position.w = 1.0;\n" 584 584 " \n" 585 585 " gl_Position = gl_ModelViewProjectionMatrix * position;\n"
