Skip to main content

The Power of Pride Bundle 2026 — $10 PWYC Edition
On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Not sure what the cause is but when using the API's for terrain, I get either black billboard grass or no grass being rendered.

If I call  ccbUpdateTerrain(terrainnode) then I get black grass billboard textures.

If I follow this call with ccbSetTerrainTexHeight(terrainnode, 0.15, 0.60);
then all the grass is missing from the rendered terrain.

Also, I'm not quite sure what ccbSetTerrainSmoothing(terrainnode,40); does as there is not any documentation for it and I cannot see any changes in terrain with it set.

The API - ccbUpdateTerrain had a bug and now is fixed. Plants on a  terrain loaded from heightmap now show as expected. Thanks for letting me know.

ccbSetTerrainSmoothing is an old API that I never ended up using so ignore. It was meant and partly did work to readjust the angle of terrain angles to smooth out sharp changes from low resolution heightmap file. It worked sort but not great so dont worry about this. You can smooth out sharp changes in photo editing software instead and works better IMO.

Great work, now you've fixed these bugs I can start working with your API without thinking my scripts have the errors :)