Monday, April 28, 2014

Spring Show Builds

Controls
W - Forward
S - Backword
A - Left
D - Right
E - Interact with Speaker
M - Mute Music
Left-Click - Next Song
Right-Click - Previous Song
T - Teleport Inside/Outside

Download (Windows)
Download (Mac)

Look out for the wrap up post some time this week!!

Sunday, April 6, 2014

Weekly Update: 4/3/14

This week was once again spent primarily on optimizing the game while making some minor adjustments to features and polishing off the look.

Firstly, to optimize, I layered objects so that lights are only illuminating what the absolutely must be.  This will save from extra polygons being drawn and reducing performance.  Additionally, I cut down the number of trees that are rendered as meshes as opposed to being billboarded.  This cut down roughly 1200 polygons per tree, about 150,000 reduced total.  Also, by upgrading to a Unity Pro license, I have been able to take advantage of Occlusion Culling, a feature which allows the engine to only render objects that can actually be seen by the camera, not just those which are in its viewing angle.

Secondly, I added some features and modified some existing ones.  I fixed the clouds, which were disappearing behind the fog, but modifying its shader to bypass the fog effect.  Next, I added wind to the scene.  It's a minimal performance hit, but it adds a nice touch by having the trees outside swaying softly.  Then, because I upgraded to Pro, I updated the water to take advantage of realtime reflections, making it much more realistic.  I also adjusted the driveway because of how thin the lanes were and made them a more practical 15 feet wide.

I then rebaked the lightmaps at a high quality to make the interior much more realistic and closer to the quality seen in the initial renders.  After that, I added several post-processing effects to make the game feel more polished.  I started with Bloom to accent the lights and stretch their glow.  I followed that up with Tonemapping to make the colors softer and transition nicely from the accented lights.  Finally, I turned off Antialiasing in the render settings and applied it to the camera.  The quality is not quite as powerful as it was, but this allows me to use post-processing effects and adjust the settings to achieve the visuals I want.

I'll have some more screenshots and an updated build showing the recent progress next week.