Spooktober is over, but we’re still cooking…


Focal Engine, Continuum RT, & 2.1 Beta

We’ve got a lot of stuff cooking currently, not all of which we are quite ready to share (soon). I’m going to let both dotModded and Jake take it away once again though!

First, dotModded’s personal update for October:

This month I’ve been working on many of the same things as last month; primarily getting our development environment set up for 1.21, Continuum 2.1’s little SSR issue, and re-evaluating AMD support for 2.1 on their latest graphics drivers.

My work with 1.21’s development environment is making some decent progress progress. I finally have the game launching, though there are many bugs to work through. Our upcoming update here will likely require us to move away from the universal jar for a little while, unfortunately. Having to set up a brand new environment, rebasing a lot of code…I hope things will be working soon but I still can’t give a date with all the unknowns still ahead of us.

On another note…I haven’t made as much progress with Continuum 2.1’s SSR as I hoped, I have my notebook out and while the math is simple, getting things to work reliably is something else entirely, most of my ideas have led to worse visual artifacts. Making HiZ SSR behave incorrectly is challenging because normally it’s pixel perfect with a confidence value weighting it. I’ve tried working with the confidence to allow it to hit the lily pads instead of falling back to the sky, but the changes I’ve tried result in flickering reflections off the water. Trying to make the HiZ march skip over the lily’s causes issues with thin geometry like iron bars. If I can’t figure this out soon I’ll move to a typical ray march, this ray march will likely be more demanding than the HiZ march, but it will give us more freedom to make it behave like we want. If we go with this approach, it will likely be an optional toggle for those that are bothered by the lily pad reflection anomalies, while everyone else can continue to benefit from the likely more performant HiZ march.

I’ve also been poking at 2.1 and RT on AMD’s latest drivers. RT has been tested on both our RX 480 and 5700XT, as well as a supporters 7900XTX, and is working on a few of the latest available graphics driver versions (we’ve updated our System Requirements page to reflect this as well) Things are looking good overall for 2.1 as well, though it isn’t functional as of yet. I’ve discovered a bug in Focal Engine that I need to track down, and there’s a number of extensions we need to work around. Overall though I think it’s possible to get 2.1 working without sacrificing performance on Nvidia on these newer drivers, which is what previously held us back.

And now, Jake talks about what he’s been working on in October:

So, this month, much like the last, has been pretty hectic for me as we’re moving to a new place for the next year or so while my parents build a new house. I’ve mostly been busy packing my stuff up and helping prepare for the move, but in my downtime I’ve been starting work on a fairly hefty update for RT, plugging away at small changes and fixes for 2.1 and starting work on a rewrite for 2.1’s depth of field.

We’ve been wanting to push an RT update for a while now, as it’s on a pretty outdated and frankly messy code base that is a pain to maintain long term. Our goal for the RT update is pretty much to move it to 2.1’s code base so that we can share more code between the two shaders, which should net us a decent upgrade for RT’s sky and post-processing stack. At the same time, we’re likely going to look at changing how RT works in a couple key areas, such as cleaning up and optimizing both the path tracer and the denoiser, and cleaning up the compositing pass which takes the denoised path tracer output and applies it to the actual image. So far I’ve been focusing on adapting 2.1’s code base in a side branch to make it easier for us to drop RT into it, primarily by cutting out 2.1 passes that we don’t need such as our screen-space reflections or ambient occlusion passes, and refactoring our gbuffer to use a single RGBA32UI texture instead of the mishmash of RGBA8, RGBA16UI and RG16UI textures that 2.1 currently uses.

As for 2.1, I recently realized that we need to rewrite 2.1’s depth of field when pushing a change to add anamorphic distortion to DOF. 2.1’s current DOF is quite messy and features quite a few magic numbers that none of us really remember the reason for anymore, plus it’s technologically quite poor and has pretty bad quality. As such, I’ve decided to rewrite it in two separate rewrites: a smaller one that focuses mostly on just cleaning the code up, and a larger one that focuses on improving the quality. The smaller rewrite should go live in the next 2.1 update, and pretty much brings DOF in line with modern shaders such as Spectrum or Kappa, by changing our DOF to be more physically-based as it will use physical camera properties such as the aperture radius, focal length and sensor size.

At a later date, the larger rewrite will go live which will completely redesign DOF from the ground up, ideally bringing it in line with how the rest of the real-time graphics industry typically handles DOF. The goal of this larger rewrite is to switch our DOF from a pure gather algorithm (where each pixel gathers DOF samples from all nearby pixels within the DOF radius) to a scatter-as-gather algorithm (where each pixel gathers DOF samples from nearby pixels if and only if the nearby pixel has a large enough radius itself to cover the center pixel), which will bring it in line with Unreal Engine or Frostbite. The hope is that this should fix the hard outline along the edge of foreground objects, and will also make our DOF more physically plausible as the pure gather algorithm we currently use technically breaks physics. This is a pretty large rewrite, though, so I can’t give any hard dates for it.

Next up, here’s a quick overview / changelog for the Continuum 2.1 Beta Build 32 release we managed to get out this month:

Continuum 2.1 Beta Build 32 Changelog

  • Added Anamorphic Distortion to Depth of Field
  • Slightly reorganized Toning settings menu
  • Added disclaimer to top of Toning settings menu, since adjusting too many compounding Toning settings at once can cause unavoidable visual issues.

Continuum 2.1 will likely go into the RC (Release Candidate) stage very soon. Unless dotModded finds a novel solution to the HiZ Lily Pad SSR issue soon, we will be adding that toggle for the more standard ray march and start the RC process based on that build, after one last bit of internal testing that is. Not the ideal solution. Certainly not the one we wanted, but we cannot justify holding back this release much longer for such a small, singular issue, and at least that will give users that are bothered by it an option to avoid it.

More updates on this soon.

Before we move on, the following image (click to enlarge) was taken with all the DOF changes from both Build 32, as well as the ones Jake mentioned were coming short term (likely Build 33, or maybe even RC1). We used this to wish everyone a Happy Halloween as well, and we hope everyone had a good holiday!


Stratum

Stratum is still on it’s 2 month update cycle, and we’ve been quite happy with the results. This month we got Bamboo squared away, which really helps flesh out Jungles now in our opinion. We also added an End Portal Eye, which looked suitably spooky for the Halloween season, and ended up looking great in combination with our End Portal Frames! We then finished up the month with our work on Potatoes, which will bring us closer to finishing up the crops.

Check out the gallery below for screenshots of these additions!

Click an image below to enlarge and enable gallery view


Site Updates

We’ve been watching, taking feedback and brainstorming easy ways to improve our site experience for a while now. Small changes are made almost every month in an effort to improve things, but when it comes to our Account / Downloads and particularly Focal Engine explanation / installation flow, we’ve known there was much room for improvement.

This month, we took some of our first major steps towards that goal. Starting with making all Builds of Focal Engine exclusive projects, like Continuum 2.1 and RT, viewable on the downloads page. Them not being there has always confused some newer users, either because they’re not yet familiar with our Focal Engine, missed the warning about it being the only place to download those versions, or even among those that did understand that, but wanted an easy place to view the changelogs for those versions (instead of checking our social media or blog posts like this one).

These downloads are of course still only available from within Focal Engine’s UI, that will not be changing, but now people can at least see them, see their changelogs (though not all of them have been populated yet, more on that later), tell what’s changed and what the latest version is at a glance, and the download button now directs them directly to the Focal Engine Installation page, which has also been heavily revamped!

This page was already in need of some updates, both to better highlight how to use Focal Engine’s UI, since a lot of people were missing that part of the tutorial entirely, and to improve the wording and visualizations for the entire tutorial. The UI step in particular has been moved to the top, the jumplink buttons have been made even bigger, new, larger and clearer images of the Focal UI have been made, with step by step instructions explaining each, and many of the steps for the install tutorials have been tweaked for less confusion.

Moving forward, we plan to update the text formatting of the Downloads page description/changelog boxes to no longer force us to use basic formatting, so changelogs should be even more clear / concise, and less cluttered once we get that in place. This is likely when we will update all the missing interim changelogs for many of the Focal Engine builds that are now visible as well.

Hopefully these changes help make the new and existing user experience, particularly as we continue our journey with Focal Engine exclusive projects, easier. We’ve seen positive signs that this is already the case, but we will continue to monitor and evaluate this as we move forward!


As always, thank you for your continued patience and support. It means the world to us here at Continuum Graphics! We couldn’t do this without you!