our rambling
Want to be notified of new blog posts?

Elwin Verploegen

See us at Develop Brighton & Gamescom June 20, 2015

By Elwin

If you’ve been dying to play the full version of Fragments of Him, we have 2 opportunities for you this summer. We will be showcasing the prologue of the game at both Develop Brighton & Gamescom.

Develop Brighton

Develop Brighton

First off we’ll be at Develop Brighton (14-16 July), which as the name suggests is in Brighton (UK). We have been shortlisted as one of the final 10 games to be included in the Indie Showcase! We’ll be showcasing on Wednesday and Thursday, so be sure to pop by if you’re in the area.



Gamescom Logo

Like last year we’ll be at the Holland Pavilion in the business area of Gamescom, we will be there from Wednesday until Friday. We’ll have some more information about the exact location when we get closer to the event. If you want to make an appointment while we’re there you can contact us with press [ at ] sassybot.com.

If you want to grab a bite or a drink during Gamescom, just shoot us an email or come find us at the booth.

Tino van der Kraan

Animating a Camera in Unity 5 June 11, 2015

By Tino

This video tutorial will show you how you can quickly animate a camera in Unity 5 using Mecanim and all this will roughly take a minute of your time. Enjoy!

Tino van der Kraan

Lightmapping in Unity 5 April 30, 2015

By Tino

In Unity3D, scenes can benefit greatly from atmospheric lighting and the shadows these lights cast. Nowadays most of this can be done realtime and can have some stunning results. However, the more complex your scenes will get, the more demanding this is for the computer running the scene. For complex scenes it’s recommended to bake the lighting information of your environments into texture maps so that the calculations for this lighting will only need to be done once. Setting up your lights and environments can sometimes be a little tricky without immediately giving you the results you might be after. This blog will cover some of the basics of creating lightmaps for your Unity3D scene as well as some tips and tricks to help you get to a pleasant result quicker.

The following will only cover baking lightmaps in Unity 5 using Baked Global Illumination and will not cover any of the Precomputed Realtime Global Illumination.

Lightmapping quick start

This is pretty much how a simple scene with a plane, cube, and directional light looks without any lighting baked in.


Default Unity scene with a plane and a cube

In order to bake your lighting information into a lightmap you need to tell Unity at least two things. Which light is going to have its information baked in, and which objects are going to remain static in the scene.

Step 1: Mark your objects as static


Object set to static

Step 2: Set your scene light to baked instead of realtime


Lighting baking mode set to baked

Finally, with Baked GI checked in the Lighting tab you should see the lighting baked into this little testing scene. In the bottom right of the lighting tab you will see how many lightmaps have been baked, at what resolution, and what the file size of the lightmap(s) is. Now that the basics are out of the way, let’s look at some of the knobs, dials, and options that can give us some control over this.


Simple scene set up to bake lightmaps

Lightmapping custom objects with ‘Generate Lightmap UVs’

A 3D object can have several UV channels. Normally, objects store their texture location information into the UV0 channel. By default, Unity will bake lighting information using the UV0 channel which usually does not give desirable results if you have overlapping UVs. With a 3D package such as Maya or 3ds Max you can create a set of UVs in the UV1 channel that Unity will reference when baking lighting information. You can also have Unity automatically generate information in the UV1 channel by checking the ‘Generate Lightmap UVs’ box in the .fbx importer settings.


Generate Lightmap UVs

On non-organic objects it’s pretty useful to generate these lightmap UVs automatically. On organic objects I recommend creating a custom UV1 channel as the automatically generated results usually put the lightmap seams in rather visible places.

Continuous/Auto Baking

This is a checkbox that can be found at the bottom of the Lighting panel. When left on, any changes in the scene or in the lighting settings will automatically be calculated in the background as you continue working. Unless you have a beast of a machine or working on a really small scene, I recommend you leave this off and only Build your lightmaps when you need to. Additionally, when manually baking lightmaps Unity will store the lightmaps in a folder with the same name as your scene in same folder as your scene.


Continuous/auto baking

Baked Global Illumination settings

Lightmap resolution and padding

The way to increase the resolution in your lightmaps is to increase the texels (texture pixels) per unit in your lightmap, higher values will create larger maps. If you notice that some of the light information starts to blend or bleed into the wrong surfaces of your objects you can try increasing the padding so that there will be more space on the lightmap between the UV islands. If you notice compression artifacts on gradients you can try unchecking ‘Compressed’ at the expense of lightmap file size. Lastly, the indirect resolution will determine the resolution of the bounce light in texels per unit. As you may notice from the images below, pushing this value much further past 2 did not have much of a noticeable effect.


Indirect resolution at close to 0


Indirect lighting at 2


Indirect lighting at 4

Ambient Occlusion

To make your objects feel more grounded in the environment it is common to add what is called ambient occlusion. Ambient occlusion is basically a phenomenon where areas appear darker when surfaces get close to each other. The Ambient Occlusion value in the Lighting tab determines the intensity of this effect and the ‘Max Distance’ is the distance along the surface after which this effect is no longer visible. The cube I used for the examples below is 1 cubic unit. With a max distance of 0.5, the falloff of this effect therefore travels halfway up this cube. With an Ambient Occlusion intensity of 5 it now becomes pretty clear how this works.


No Baked GI, no Ambient Occlusion


Baked GI, Ambient Occlusion at 1 with Max Distance at 1


Baked GI, Ambient Occlusion at 5, Max Distance at 0.5

Final Gather

As for the last option in the Baked GI section of the Lighting tab. I’m not quite sure what kind of noticeable added benefit Final Gather has to justify the extra baking time but if someone is out there that knows and can show me, then that would be great.

General Global Illumination settings

This section in Unity’s lighting tab contains settings shared between precomputed realtime GI and baked GI. I’m not going into the directional mode as it’s pretty well explained in this blog post on the Unity forum: http://forum.unity3d.com/threads/directional-lightmaps.280716/. Further along in the Lighting tab, Unity’s tooltips can shed some light on what Indirect Intensity and Bounce Boost do exactly.

Indirect Intensity


Indirect Intensity tooltip

 Bounce Boost


Bounce Boost tooltip

The Default Parameters in Unity’s Lighting tab affect the quality of the bake. I usually set this to ‘Default-VeryLowResolution’ in the initial stages of of the baking process in order to make me aware of problems sooner without having to wait very long for a bake to finish. Then, when I’m reasonably certain there are no big lighting problems, I set the Default Parameters to higher resolutions.

Atlas size

This value determines the dimensions of the lightmap in pixels. When using large surfaces such as floors or ceilings you may notice that an atlas size of 1024 probably isn’t enough. In this case you could cut up your mesh so that the lightmap can be distributed over more texture maps. Another option is to increase the atlas size of your lightmap so that there is more space to put the information onto. Try to keep your target platform in mind when considering very large texture maps. Something you might encounter is that when dialing the Atlas Size up to 4096 or higher is that the Lighting tab will still say the lightmap is set to 2048px. This will occur when you manually initiate your lightmap bake and the lightmap will appear in your project as a texture. The texture import settings of the lightmap will be set to 2048px by default. Change this to this to the Atlas Size you entered and you are good to go.


Atlas Size set to 4096 with continuous baking disabled. Manually punch in the Max Size of the texture

Tips and tricks

Advanced Generate Lightmap UVs

This section in the FBX import settings allows you to determine how the UV1 channel for that object is automatically generated. This can be useful for problems in automatically generating UVs for objects that don’t have perfect 90 degree angles.


Generate Lightmap UVs Advanced options

Preview Texel Density

In the top left of your scene view you can find a dropdown that allows you to change how you see the scene. In the bottom of this dropdown you can find preview options for Global Illumination. The last option in that list should say ‘Baked’. This allows you to preview the texel resolution of your lightmap. Smaller squares represent more resolution in texels per unit in your lightmap.


Preview Texel Density

Scale in Lightmap

In the Lighting tab, under the Object section, you can find object specific lighting settings. One of which is the ‘Scale In Lightmap’. This value determines how much space this object will take up in your lightmap. Combined with the Texel Density Preview, you can see how this translates in resolution when you hit that bake button. This can be useful when determining the Scale In Lightmap to make the most use out of your lightmap textures for static objects at various distances from the camera.


Scale In Lightmap

Bake only an object’s shadow

Sometimes it is useful for an object to cast a shadow in the lightmap, but not to receive any lightmap information itself. When this is the case you can set the ‘Scale In Lightmap’ to 0.


Scale In Lightmap set to 0

This object will still be influenced by lightprobes if this is enabled in the object’s Mesh Renderer component. One of the benefits I found using this for is parked cars. Due to the details and curved nature of the cars in one of our scenes it became pretty costly to get a good result out of baking these objects. The solution was to not bake the cars but just their shadows and ambient occlusion.


No lightmap, casting shadows, affected by lightprobes

Consider which lights to bake and which to keep realtime and when

As of this writing, the Mixed Shadows setting on lights is not yet working as it should in Unity 5.0. The Mixed Shadows setting normally allows for baking lights into an environment while also supporting near lights to cast realtime shadows. This is great in cases where, for example, a character walks past a light and casts pretty shadows while having ambient occlusion and environment shadows baked in to be enjoyed at larger distances from the camera. Unity is aware of the Mixed Shadows issue and I can’t wait for it to be fixed. In the meanwhile, we would still like to have realtime shadows in our game. One way to do it is to only have the important lights cast the shadows you need in an environment.


Manually mixing realtime and baked lighting

Hopefully you got something useful out of this blog and perhaps it helps you either get started with lightbaking in Unity or maybe it expands on what you already knew. Regardless, If you want to follow up with some questions or you have a trick or two to teach me about Unity then you can always hook me up on Twitter @tinovdk. Consider sharing this with people that can benefit from it. Thank you for reading through to the end. ^^

Elwin Verploegen

A Single Click: What The Player Doesn’t See April 17, 2015

By Elwin

Interactions with objects of various shapes and forms are an inherent part of playing games, but rarely do we think about what goes on behind a simple click. In this blog post we will broadly go over what it takes to get one of the interactions of Fragments of Him working. The interaction we will be analyzing is one of the first ones you encounter in the game, the opening of an elevator.

It all starts with a concept

We store the script for Fragments of Him in a spreadsheet. This sheet contains all of the interactions, dialogue, and animation descriptions for its numerous scenes. The entry for the interaction you see animated above can be seen in the image below. Interactions in our spreadsheet are given identifiers to keep track of whether the interaction is linear, branching, mandatory, or optional. More often than not there are various things that can be heard by the voice actor as a result of this interaction.

Elevator interaction in spreadsheet

Elevator interaction in spreadsheet

With all of the above written down, it’s up to the art team to figure out how to proceed onward. Almost all of the game is based on familiar or real locations so we use a lot of photo references to construct our scenes. There’s also the question of how will the environment react to the player’s interaction, what are the materials that we use on the scene geometry, and how will the lighting in the environment react to the characters in the scene?

Creating the environment

The scene description states that this takes place in an apartment building and that we need both an elevator and a staircase. Some of the reference for the elevator can be seen below. We usually look at multiple reference photos and take elements from all of them to form the final result. In this case we took the interior panels from one photo and the hand rests from another.

Elevator reference material

Elevator reference material

Elevator reference material

Elevator reference material

Before starting on creating assets we usually discuss these reference images to determine what we prefer, after which the modelling can start. We’ll do this for every interaction so that we end up with a complete scene (at least at a basic level). At many points in this process we reflect on how it’s shaping up and how the player moves through this space. For example, early on we noticed that we made one of the hallways too long which this took away some flow from the experience. When realising this early on it’s relatively easy to cut out the chunks that don’t feel pleasant from a player’s perspective.

Creating the character

Now that we have the environment covered, we’ll need a character to interact with this elevator. The process here is similar to the environment. We get a description from our narrative designer of Will (one of the characters in the story), which gives us a general idea of who this person is. As a team, we go over a bunch of different photo references and pick the photos that fit with the person and the narrative. From this point forwards the elements from the photo reference are combined and mashed together into concept art.

Will character sketch

Will character sketch

As we got closer to nailing down the look of Will we tried to clarify the details of he way this person dresses. The outfits required for the narrative are largely determined by the year in which this part of the story takes place, what season and which time of day. Below you can see some of the silhouette concepts created by Baiba Gedrovica that helped us explore the possibilities in clothing and hair styles.

Will concept drawings

Will concept drawings

Once the character features are decided on it’s time to start the modelling process of this character. There are quite a few steps involved to get this from concept to a modeled, rigged and skinned model. Unfortunately, this blog does not aim to cover this particular process in depth. If you want to know more there’s some more info on the Unity website on the steps it takes to get a character in the game. This is the result of a single character with a single outfit:

Static view of Will

Static view of Will

Animating the character

At this point we have a static character that’s all set up to be animated. We made use of Xsens Motion Capture technology to record the motions and turn this into data that drives Will’s skeleton. While this method is not entirely drag and drop, it does help a tremendous amount in creating movement that appears very natural.

Animation Spreadsheet

Kaylee monitoring recording and keeping track of animation spreadsheet

Xsens Mocap

Tino in an Xsens motion capture suit

Tino described the process from modelling to getting it in the game as follows:

Model, unwrap UV, texture, rig, skin, record mocap, characterize mocap data, characterize rigged model, retarget mocap data to model, plot keyframes to character skeleton, tweak animations where needed, save into Unity, turn model into humanoid, cut up the animations into animation clips, toggle animation clip import settings depending on what’s applicable, drag model into scene, apply materials and textures, trigger the animation that you need when you need it, profit.

Many of these steps have to be done for every single animation in the game. Some of the other steps fortunately only have to be done once such as creating the model, its textures, the skeleton and its skin weights. There are roughly 250 unique animation in the game, in case you were wondering. The resulting animation as its portrayed in the scene, however, is quite pleasant.


Hooking it all up

When it comes to implementation, we have spent a lot of time building editor tools to assist us. I wrote a more detailed blog post on developing these tools last year. In short, it takes away the task of writing custom code for each interaction. That single button press triggers at least 15 scripts, 6 animations and 1 sound effect.

Elevator Interaction

Elevator Interaction

This totals to around 1500 lines of code (excluding the duplicate modules and the actual interface & code behind the above image).

If you have any questions you can contact me @elwinverploegen.

Elwin Verploegen

Fragments of Him Downloadable Content Revealed April 1, 2015

By Elwin

While the release of Fragments of Him is going to take a bit longer, we have been giving Downloadable Content (DLC) some of the thought and attention that it deserves. Let us take you through all the versions and DLC that you might be able to obtain now or eventually for Fragments of Him.

Basic Edition

Fragments of Him: Basic Edition

Fragments of Him: Basic Edition

The full game* as we intended it, completely playable in all of its glory.

Deluxe Edition

Fragments of Him: Deluxe Edition

Fragments of Him: Deluxe Edition

For those that want/need more, we bring you the Deluxe Edition. In addition to the full game*, you get the Director’s Cut. This version is exactly as our narrative designer intended the game to be, which is the same as the regular version albeit with a different title screen leading into the game.

In the Deluxe edition you can also expect a ‘Behind the Scenes’ video. This 4 hour documentary shows the developers eating greasy pizza, drinking mildly enjoyable (but potent) coffee, shooting NERF guns and weak attempts at rhetoric on whose weekend was more eventful.

Premium Edition

Fragments of Him: Premium Edition

Fragments of Him: Premium Edition

The Premium Edition contains everything the Deluxe Edition has, and more. The Premium Edition adds the Cinematic DLC. We know that some users desire a truly cinematic experience while playing Fragments of Him. We also realise that 60 FPS (frames per second) makes it a lot less cinematic (which is why most films are shot at 24 FPS). This is exactly why the Cinematic DLC will lock your frame rate to a maximum of 30 FPS, for the best experience you could ever want.

To add to the ultimate cinematic experience possible, we also introduce the Popcorn DLC where all the camera angles have been carefully picked for the most optimal narrative delivery possible without having to play the game whatsoever. All you need to do now is press the play button.

We also recognized that by giving you so many options to expand your Fragments of Him experience with all this DLC, that you need a way to manage it all. To meet you mid-way we also include the DLC Manager. The DLC Manager gives you an additional option in the menu to see what DLC you have enabled, which you are missing, and what discounts or sales are currently ongoing. Obviously perfect for those who want to stay on top of all the options in DLC. You can find this option in the in-game menu.

Fragments of Him: DLC Manager

Fragments of Him: DLC Manager

Season Pass

Fragments of Him: Season Pass

Fragments of Him: Season Pass

We know that you love DLC, and if you don’t, we hope that our DLC will convince you. If you really want to show support for your developer you can buy the DLC Season Pass ahead of time. All DLC will be available to you on release meaning that you don’t have to wait to enjoy the full game! The Season Pass contains 2 content packages that we haven’t discussed before.

The Effects DLC allows you to play around with the settings of the game, for those who want to use the full power of their computers. We recognize that not everybody feels comfortable using these settings, so we decided to put this in a separate package. Once enabled, you can use FSAA, MSAA, SSAO, Bloom, AO, Tesselation & more! The perfect DLC for the true PC gamer. A cheat sheet to all these acronyms will be included with this DLC.

The Polygon DLC is for those that deeply care about graphics. As most of you know well, pushing more polygons on screen will obviously make any game a lot better. With the Polygon DLC you will benefit from double the polygons, giving you twice as much enjoyment out of the same game.

Freedom Pass

Fragments of Him: Freedom Pass

Fragments of Him: Freedom Pass

Finding the compassion and empathy to characters in a game can be difficult, as such we decided to allow the players to let the players change the location of the game to Texas instead of England. The pass revamps all of the levels to look like Austin. This pass will also give you multiple options for the voice overs in the game. If your state is not available you can send us a request to freedom{at}sassybot.com, and we will make sure to look at your specific request.

Hats, Hats, Hats

Our final announcement involves hats. Research has shown that everyone loves hats in their games. This is why we will be opening up a hat shop on release, allowing you to customize all the characters in the game to your liking. Hats can be found in the game as well as bought in the store.

Fragments of Him: Introducing Hats

Fragments of Him: Introducing Hats

We also know that you have that one question: Can hats be stacked?

Yes. Yes they can.

Fragments of Him: Stacking Hats

Fragments of Him: Stacking Hats


That was it for the announcement, if you have any questions please send a tweet to @sassybotstudio

* The full game does not contain any DLC.