How to add terrainshader / layershader via C++ #2136
-
Hi all, I'm trying to integrate this shader script into my C++ source to have a vertical scaling in my terrain. But without any luck so far. Christoph |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
maybe osgearth/contourmap? |
Beta Was this translation helpful? Give feedback.
-
I think you can get some inspiration for |
Beta Was this translation helpful? Give feedback.
-
Do you have any new developments? @christ0phd |
Beta Was this translation helpful? Give feedback.
I think you can get some inspiration for
TerrainEffect
creation from osgEarthUtil/VerticalScale in 2.10 branch. And then add it toTerrainEngine
viaaddEffect
. But be aware of some problems with vertical scaling, see for example: #2142