|
Your donations keep RPGWatch running!
RPGWatch Forums » Comments » News Comments » Ghost of a Tale - Development Update

Default Ghost of a Tale - Development Update

April 1st, 2016, 17:21
Seith has once again delivered a development update of Ghost of a Tale, in which he talks about the wrong choice to try and move to Unity 5.4, optimizations and table decisions.

Since the game doesn’t use baked lighting at all (every light is dynamic) it presents some optimization challenges. Casting shadows is very expensive in Unity. And baking shadows is quite limiting and would really bog down my workflow.

So I had to come up with ways of keeping nice visuals (shadows are a big part of it) and yet not burn the framerate budget on things that wouldn’t be seen.

It took a lot of work but I improved on the system I already mentioned in a previous update. Before, the lights visibility distance were subordinated to a unique value; an absolute distance all the game’s lights followed.

I changed that so each light now has a specific visibility distance, depending on its location and visibility. That level of granularity keeps lights looking the same, but they’re smoothly turned off by the game as soon as they’re not needed anymore.

It makes a very big difference in the framerate. Before, in the jail, I was around 45-50fps. Now I’m mostly around 70fps (oscillating between 65fps and 82fps). The courtyard is another matter though and I still have a lot of work to do there.

On top of this optimization work I also started using a different LOD system (called AutomaticLOD) for some of the game’s assets (models are getting simplified the further away they get from the camera). It allows the poly count to go down without any noticeable visual drawback. I’m still putting the asset through its pace but so far it works brilliantly and the developer is both helpful and reactive, which is extremely important!
More information.
Myrthos is offline

Myrthos

Myrthos's Avatar
Cave Canem
Administrator
RPGWatch Team

#1

Join Date: Aug 2006
Location: Netherlands
Posts: 10,618
Mentioned: 202 Post(s)

Default 

April 1st, 2016, 17:21
Many modelling tools already include a mesh decimator-type operation for creating LoD (or just reducing the mesh count). But perhaps this tool saves some time?
rjshae is offline

rjshae

rjshae's Avatar
Periapt vs Paronomasia
RPGWatch Donor

#2

Join Date: Mar 2012
Location: Seattle
Posts: 5,325
Mentioned: 20 Post(s)

Default 

April 2nd, 2016, 14:20
Originally Posted by rjshae View Post
Many modelling tools already include a mesh decimator-type operation for creating LoD (or just reducing the mesh count). But perhaps this tool saves some time?
It does, because it is directly integrated into Unity; I can just set a slider to check the decimation and click a button to save the LODs. It's really neat.
seith is offline

seith

seith's Avatar
Traveler

#3

Join Date: Jan 2011
Posts: 17
Mentioned: 0 Post(s)
RPGWatch Forums » Comments » News Comments » Ghost of a Tale - Development Update
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 11:00.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
vBulletin Security provided by DragonByte Security (Pro) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
Copyright by RPGWatch