Can't make terrain work Topic is solved

Problems building or running the engine, queries about how to use features etc.
slapin
Bronze Sponsor
Bronze Sponsor
Posts: 146
Joined: Fri May 23, 2025 5:04 pm
x 5

Can't make terrain work

Post by slapin »

Hi, all!

Been struggling with terrain for days now and can't make it work.
The heightmap itself is fine (I use paged terrain with constant height now) but the surface shader is totally broken - I see linear or circular patterns of seams on the texture depending on angle which are less evident at distance. How can I disable these? Or should I go use volumeTerrain instead?

I use GL ES 2.0 rendersystem on Ubuntu 22.04 with code copied from sample. Need help finding the terrain's fragment shader to debug.
Please help me find it.

paroj
OGRE Team Member
OGRE Team Member
Posts: 2204
Joined: Sun Mar 30, 2014 2:51 pm
x 1188

Re: Can't make terrain work

Post by paroj »

the terrain shaders are generated by the RTSS. Use https://renderdoc.org/ to check them for issues.

slapin
Bronze Sponsor
Bronze Sponsor
Posts: 146
Joined: Fri May 23, 2025 5:04 pm
x 5

Re: Can't make terrain work

Post by slapin »

No issues found using renderdoc. However setting pixel error to 1 and composite map distance to 30 solved the problem.