Creating a forest path with trees that can't be seen past

I want to create a forest path for my game that only allows the player to walk on the path. The path will be lined with trees/foliage, but I’m wondering how I can make the trees/foliage look good, but also make it so that the player can’t see through gaps in the trees/foliage as the skybox and baseplate would be behind it.


So basically they would be able to walk on the path without seeing the skybox/baseplate behind the trees, giving the illusion of being in a thick forest.
Thanks in advance.

2 Likes

you could probably either make the skybox include trees, or fill in every gap in the trees with a tree slightly behind the others

2 Likes

I like that skybox idea, but for the tree gap idea, when I tried that the leaves were big enough to block the players line of sight when stacked behind each other, but the trunks were always too small to cover each other fully, so I’m wondering if you have any ideas for what I can put to block vision from that level.

1 Like

Have you thought about using atmosphere to limit how far the player can see?

3 Likes

i mean usually you would just actually add a bunch of trees this as it seems to be a pretty small path and shouldn’t be very impactful on performance.

but otherwise what games usually do to fake huge large-scale forests is adding a bunch of flat 2d billboards of a tree. this is great for performance and can be very convincing from further distances (but cover them with actual geometry/trees first).

also some clever visual effects to limit the player’s view on the trees further away.

3 Likes