Jump to content

[SOLVED] Tiles of TerrainGlobal dissappear


photo

Recommended Posts

Hello,

Under some view angle/position, some tiles of a TerrainGlobal simply dissappear:

image.png.6f1db01b24313704c292df07fd9702d9.png

image.png.f42fc6bb28266c59a58832cfa7982ce1.png

image.png.96c7f17d8a22b15df38a010659f2c723.png

Nothing fancy about the terrain, just created with Landscape with DTED2, only one LOD. The tile appears and disappears depending on the viewer position and direction.

Test scene attached (bin, core, textures removed for size consideration)

Thanks for your help.

test_detail.7z

Edited by Amerio.Stephane
Link to comment
  • 2 months later...
  • 1 month later...

Hello Stephan,

we've fixed this issue, fix will be included in the upcoming 2.7 release.

Actually you can modify one shader file to fix this right now.

  • Open /data/core/shaders/common/double_trigonometry.h
  • Find these strings:
double dlength(double2 x) { return drcp(drsqrt(ddot(x, x))); }
double dlength(double3 x) { return drcp(drsqrt(ddot(x, x))); }
  • Replace them with this
double dlength(double2 x) { return dsqrt(ddot(x, x)); }
double dlength(double3 x) { return dsqrt(ddot(x, x)); }

 

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
  • morbid changed the title to [SOLVED] Tiles of TerrainGlobal dissappear
×
×
  • Create New...