our rambling
Want to be notified of new blog posts?

Tino van der Kraan

Development Update: The Past, Present, and Future. July 24, 2015

By Tino

Hey everyone,

Today I felt like writing a bit more of an informative post of what we have been up to over the last month or so, where that brought us, and what’s ahead. Even though I could talk all day about what we are doing, it was necessary to have a bit of radio silence in order to make strides in progress. Let’s go over some of the events that transpired over the last month or so and I’ll provide some context with each of these events.

Wednesday, May 20th, 2015 – Partnership with ICO Partners

We believe it is important for the success of our game to create media awareness about what we are making. To that extent, we have formed a partnership with ICO partners who help us with setting up and executing a marketing strategy.

Through this, we realised that Develop: Brighton was a game development conference that we definitely had to attend in order to raise more awareness around Fragments of Him. Luckily, there was an indie showcase that we could sign up for. At this point in time, the media that we had online of Fragments of Him was very dated and not representative of where we are at with the game. New material of Fragments of Him was in development but not quite ready for showing yet.

Fortunately, we have a lot of internal development videos of the current state of development which makes it easy to show where we are at to privy eyes. We figured that one of these videos would do the trick to convince the people in charge at Develop that Fragments of Him was not to be missed in their line-up for the conference

Thursday, June 25, 2015 – Selected for the Indie Showcase Top 10

On this day IGN posted an article titled ’10 indie games to put on your radar in 2015′. This was a publication accompanied by the 10 games that were selected for the Develop: Brighton Indie Showcase. Obviously, we were thrilled until we noticed that the internal development video was included with this announcement. Of course, the announcement of being selected on IGN was awesome but the premature leaking of footage was not what we were expecting. This was a mistake on our part but thanks to our partners at ICO, this was resolved pretty soon.

foh_ign_leak

Yes, that is a framerate counter in the leaked internal review video.

This was the link to the article on IGN but for some reason it’s no longer available: http://www.ign.com/articles/2015/06/25/10-indie-games-to-put-on-your-radar-in-2015. I’m sure it was just the video that was taken down and not the article. ^^

Wednesday, July 1st, 2015

This day marked the deadline for the internship positions that we had available for the positions of Game Designer and Generalist Game Developer. We count ourselves very fortunate to have received somewhere around 14 applications for these positions. In the weeks that followed we conducted interviews and are now moving forward with 2 talented individuals that we intend to put in the spotlight when they begin in September. Thanks to everyone for submitting your applications and I hope our roads will cross once more in the future.

Monday, July 13th, 2015

This was a big day for us as it marked the biggest announcement of Fragments of Him in nearly a year’s time. This was the moment where we went public with the announcement that we are also releasing Fragments of Him on Xbox One.

The announcement was paired with an announcement trailer, an updated website, new screenshots, and a press release. Together with our partners we think that this went pretty well with articles on Polygon and Kill Screen. A week later, the view counter on the trailer surpassed 15.000 views which is more than we expected.

Trailer statistics YouTube

Trailer statistics YouTube

Tuesday – Thursday, July 14th – July 16th, 2015

Immediately the day after our big announcement, we went to Brighton for the Develop conference to showcase the prologue of Fragments of Him. This segment shows roughly 5 minutes of gameplay where the player gets introduced to the story and mechanics.

20150715_091057

 

The most common reactions were, ‘I’ve never played anything like this before’ and ‘we need more games like this’. Those two phrases were said to us dozens of times in the two days we were showing the prologue to the full experience. – http://games.matazone.co.uk/?p=190

The event itself was great with interesting talks (such as Rami’s talk about customer expectations), wonderful industry people, and awesome opportunities to connect with others.

Today, July 23rd, 2015

After the high of all the media attention and loving responses, where are we now? Continued development is of utmost importance to us, and we figured it was wise to delegate the tasks and split responsibilities. Despite this, past events still caused quite an impact on our best guess as to how long we think development will still take. The future may hold more of these unexpected surprises or great ideas for things that we didn’t anticipate ahead of time. This, for us, is the reality of working in a creative industry.

FoH377

 

The Future, July 23rd – December, 2015

Next month we will travel to Gamescom in Cologne to showcase the prologue of Fragments of Him once more. Compared to last year, we have started planning appointments with journalists and platform holders in advance. Thanks to the support from ICO, the schedule is looking rather packed.

After Gamescom, we will kick-off a new internship period with a few new brilliant minds in September. From thereon forward it will be a matter of working closer towards a release ready experience and explore the future opportunities for Fragments of Him and SassyBot Studio.

If you have any questions about anything whatsoever, send me a message on Twitter to @Tinovdk. Hopefully everyone is up to date on what happened, where we are at, and what we expect is still to come.

:)

 

Tino van der Kraan

Fragments of Him coming to Xbox and Develop: Brighton July 15, 2015

By Tino

Hello everyone,

What a wonderful week this has already been. And it’s only Wednesday! I’m excited about this weeks for a number of reasons. The first is of course is that we have published a new video with the announcement that Fragments of Him is coming to Xbox. This may not be news to some but we have not officially announced this yet. Our friends at ICO partners helped us out a lot with setting things up around this announcement with things like press releases and sending the information to the right places.

In addition to the video, we have also given the website a much needed content update and you can now find six more screenshots that were captured straight from Unity. The news has spread pretty rapidly and websites such as Polygon have picked up on the news.

Fragments_of_Him-03

Finally, I’m very excited because Elwin and Mata are at Develop: Brighton to show a playable prologue to the story of Fragments of Him. This little segment gives a good sense of how the game can be played and how players can unfold the story.

20150715_091057

If you are anywhere near Brighton, head to Develop, go to the table shown above, play the demo, and talk to the devs.

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

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.

Blog-LightBake_04

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

Blog-LightBake_02

Object set to static

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

Blog-LightBake_01

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.

Blog-LightBake_03

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.

Blog-LightBake_05

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.

Blog-LightBake_06

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.

Blog-LightBake_26

Indirect resolution at close to 0

Blog-LightBake_27

Indirect lighting at 2

Blog-LightBake_28

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.

Blog-LightBake_13

No Baked GI, no Ambient Occlusion

Blog-LightBake_14

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

Blog-LightBake_15

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

Blog-LightBake_16

Indirect Intensity tooltip

 Bounce Boost

Blog-LightBake_17

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.

Blog-LightBake_18

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.

Blog-LightBake_19

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.

Blog-LightBake_20

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.

Blog-LightBake_21

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.

Blog-LightBake_22

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.

Blog-LightBake_23

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.

Blog-LightBake_25

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. ^^