[SOLVED] Stars billboard trough the landscape


photo

Recommended Posts

Hi,

I had a stars system thanks to the instructions on the following link but the stars can be seen trough the map.

https://developer.unigine.com/en/docs/2.10/objects/objects/billboards/billboards_stars/?words=star%2Ccatalog#highlight

The depth test of my stars material is set to true, an the far clip is set to 2500 while my last object is at 2000. The visibility by sector of the star ObjectBillboard is set to true as well.

I don't understand why this is happening, if you have any ideas that would be a great help!

 

starUnderTheMap.png.00bb43eee55f8f8455ab987342f90c2d.png

 

 

 

Link to post

Hello Antoine,

Is the stars could be seen through any object or terrain only? Also please specify which terrain you are using. ObjectLandscapeTerrain or TerrainGlobal? And which version of SDK you are running on

Thanks

Link to post

Hi Vvvaaseckiy,

I'm currently working with the 2.10 version of the sdk. This is happening with every ObjectMeshStatic of my world including the ObjectCloudLayer. I don't have a ObjectLandscapeTerrain or TerrainGlobal.

Thanks,

Link to post

This is really strange behavior. As for the ObjectCloudLayer it is expected that transparent objects(with Alpha Blend transparency preset) may render over the clouds, for that case there is special option - Settings/Render/Clouds/Render After Transparent, if you enable this option, the clouds should be correctly overlapping stars billboards.

But as for every ObjectMeshStatic being overlapped by stars billboards, we were unable to reproduce this bug. Can you please verify that it is reproducible in default world, with default settings for billboard_stars, or attach a small scene where this bug occurs

Link to post
  • 4 weeks later...

I managed to fix it! My bad, my radius was to small causing the first star to be in front of my landscape panorama mesh.

Just changing the radius did the trick!

 

Link to post
  • silent changed the title to [SOLVED] Stars billboard trough the landscape