this post was submitted on 07 Jan 2025
20 points (100.0% liked)
Game Development
3565 readers
57 users here now
Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't know it, but if it supports transparent textures, you could try something like this: https://animium.com/2008/08/lowpoly-trees. The basic idea (not exactly what's in the link) is that each branch is a texture on a plane facing your camera - clearly works only if camera angle doesn't change. Depending on engine performance and distance from objects, you could simplify down to having 3-4 layers per tree. I'd call this something along the lines of "lowpoly parallax trees". I've seen it working very neatly in a top-down third-person demo of Blender Game Engine a while ago.
A neat way of producing these could be getting a hipoly model of a tree and culling sliced renders of its branches.
Of course, if you don't have things behind the tree, or the tree moving, you don't need parallax at all and could bake the whole tree on a small surface.
A lot of decisions depend on the exact affordances of the game.