Skip to content

How to add terrainshader / layershader via C++ #2136

Discussion options

You must be logged in to vote

I think you can get some inspiration for TerrainEffect creation from osgEarthUtil/VerticalScale in 2.10 branch. And then add it to TerrainEngine via addEffect. But be aware of some problems with vertical scaling, see for example: #2142

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gwaldron
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants