Replies: 2 comments 2 replies
-
|
This feature is based on shadows, and in 2D we do not render terrain elevations, so this feature will not work in 2d. Elevations change from distance for performance reasons. You can try to decrease detailControl in BasicTessellator and the sightline will be more detailed, but performance will drop. This feature is purely runtime, so it is not possible to store the most detailed elevations inside the circle. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your quick answer. There isn't possibly a way to manually apply shadows on 2d right ? I'm trying to think of a work-around for this, even if the result is just a circle with some polygons inside. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I have created a 360 Line of sight implementation based on the 'OmnidirectionalSightline' class.
i have 2 Questions.
Although it works quite well in 3d, when visualizing on 2d the shape is indicating full vision-LOS as if it doesn't take elevation/terrain into account (No occlusion at all). How can i have visibility information on 2d ?
LOS-Occlusion visualization seems to change as i zoom- in/zoom-out which should normally remain the same. Is there a way elevation can be fully loaded beforehand for the inputs of center,range and height so that it doesn't get affected by zooming?
version 1.4.0
Kind Regards.
Beta Was this translation helpful? Give feedback.
All reactions