Game
Floatlands
6 years ago

Floatlands - devblog #39


GPU Rendered Grass Test

DOMEN KONESKI
We had plenty of concerns about our recent grass renderer that I made. It uses Unity’s DrawMeshInstanced() function over multiple meshes that are spawned troughout the world. The problem with this system isn’t rendering itself, but batching grass meshes that are near you. We’ve used the fastest possible Octree implementation to get nearest grass meshes. These were then put to the renderer, that caused a lot of GC allocation and used alot of CPUs usage if we wanted dense and diverse grass. It also used a lot of drawing calls when we wanted to draw different meshes with different textures at the same time (example is when you stand on the edge of two or three biomes).

5d0a5b42e45c6.png

The last and only solution that I thought of was doing everything on the GPU by using geometry shaders. There are zero to none examples on how these things work in Unity so I started experimenting with it. The shader successfully draws triangles on a list of vertices I provide along with color and normal of the surface beneath. The shader has tweakable settings, from width and height of the grass, shadow intensity, wind strength and more. This is for now only a test and will probably take it further from here, we have to figure out how will grass cope with our art style.

Player Panel

DOMEN KONESKI
Player panel is now fully implemented and ready to be taken further. It serves as an indicator how well you are doing. It’s also a place where you manage your gear – from head items, torso and so called ‘plugins’ which increase your stats. You will be able to craft and find these plugins troughout the world. Check out how it works at this point:

5d0a5b441f35f.gif

Navigation

DOMEN KONESKI
Since the world won’t be that small, we will give players some sense of direction by adding simple compass on top of your screen. We had a map in previous iteration and with testing the game we have seen that noone had been using it. Probably because they weren’t any interesting things on the map, so these things can change troughout the development. Though the main idea remains – for players to know where they are (we are about to add memorable points of interest and floating islands). Also, biomes are the easiest way to tell where you are (snow biome is usually in the north, desert biome is in the south).

5d0a5b47cfe40.jpg

Shader World Models for Items

DOMEN KONESKI
Item framework system a has new additon which enables us to (re)use world item models on different items. This means we can create more items with less modeling. Example: two torso sets that look the same, but have different stat bonuses on it. More about it in the future blogposts.

Timelapse #6: Companion modeling and rigging

ANDREJ KREBS
Companion will work as a tool and is therefore modeled with relatively lots of polygons, since it will appear close to the players view. The model was then rigged, so I could animate all the moving parts. The model was then animated together with the first person rig for the various actions that will be performed.

Outfits and skins

ANDREJ KREBS
The outfits and armors we are adding to the player character are separate models, that fit over the player character and are connected to the same skeleton as the player. I model and weight paint them with the player model in blender, so I can test it with different animations and see how it works and looks with the player, but I then save it in its own file for import into unity. This way we can keep adding more outfits.

5d0a5b4842126.jpg

Skins are basically new models that represent the same item. Sometimes I copy an existing armor and modify it and other times I just make new armors from scratch for skins, depends on what I’m trying to make. The player and outfit models are then brought back together in Unity and are then remaped to the same skeleton, to work with the animation in the engine.

Floating islands biome concept

MITO HORVAT
The floating islands above the ground are going to need an overhaul as well. We’re redefining the shapes and sizes plus it will have its own mini biome. The old island models look too boring and simple to recycle them, so we had to come up with something fresh. I drew up various shapes and sizes concepts which were then approved and based on that, I painted this quick concept art.

5d0a5b4a9a888.jpg

New icons for UI/Inventory screen

MITO HORVAT
I’d been given another sidetask by Domen, to paint the new icons for the game UI/Inventory screen. It’s going to take ages to complete, but it is the necessary evil that has to be dealt with.

5d0a5b4b94a0e.png

Improving resource helper

TADEJ VRANEŠIČ
This week was all about improving resource helper. I made a simple Server/Client ftp connector, which resolves version disputes quite easily. It has an Upload – Push and Download – Pull function, which reads and writes from server and to a server. This storing and reading technique will be used heavily, internally, but it may have the potential to be used as a modding tool. User could download item resources file with different settings from the ones that are set on his PC. This completely alters the behaviour of Floatlands game and after he is done “playing around”, he can simply download the official and latest version, which sets game behaviour to default.

World bounds

VILI VOLČINI
Lately I’ve been working on world bounds, which are automatically generated based on bounds size. The intent here is to prevent a player from falling off the world.

5d0a5b4c91672.png

Serene track

CHRIS PLEXIDAS
From this Friday on and until the release date we will release one track of the Official Floatlands Soundtrack a week, but also remixes and experimental tracks. Happy listening and let’s make a start with the track Serene.

{% soundcloud 393190179 [color] %}

Serene is a track that is set out to make you feel the vastness of the scenery in Floatlands. A multitude of layered and swelling Synthesizer patches guide you slowly into the dazzling, dreamlike worlds.


facebook
twitter
instagram
discord



0 comments

Loading...

Next up

Added some basic icons to player panel.

Show companion animation

Biome color experimenting

Polishing our new grass solution.

Working on game weather, cloudiness in this particular case.

DeepEnd Submarine

Procedurally generated example of Mainland and nearby ground islands with lots of biomes.

Playing around with player skins.

Player panel showing all the player stats, gear and your PAL (companion) stats as well.

Buzzard helicopter