- Timestamp:
- 07/05/06 15:18:00 (7 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgshaderterrain/osgshaderterrain.cpp
r4868 r5248 580 580 " position.x = gl_Vertex.x;\n" 581 581 " position.y = gl_Vertex.y;\n" 582 " position.z = texture2D(terrainTexture, texcoord).r;\n" 582 " float zscale = 0.99;\n" 583 " position.z = texture2D(terrainTexture, texcoord).r * zscale;\n" 583 584 " \n" 584 585 " gl_Position = gl_ModelViewProjectionMatrix * position;\n"
