-
Work has been underway on Sojour 2.0 for quite some time now — most of it focused on the new 64‑bit graphics engine, Dorian.
The video linked above walks through the high‑level plan for Sojour 2.0 and should give you a clearer picture of what’s coming next.
Key Points
- Development has been ongoing for a while, with the majority of work centred on the new Dorian 64 bit graphics engine.
- This is a full rewrite, so it won’t be quick — current estimates put the timeline at around two years.
- When Sojour reaches version 2.0, the price will increase to a one‑time cost of $20 USD. The video explains the reasoning behind this.
- Until 2.0 is released, Sojour will remain at $10 USD.
- Existing customers will receive Sojour 2.0 for free.
- The 1.6.x branch will continue to receive bug fixes and small quality‑of‑life improvements.
- Bug fixes for 1.6.x will take priority over 2.0 development.
If you have any questions, feel free to post them here, on Reddit r/Sojour, or on the YouTube video — I’ll do my best to answer everything.
That’s all for now.
Have fun!
RobP
-

IBL in action! After a significant amount of work, Dorian now supports Image-Based Lighting (IBL).
This is an important milestone because it dramatically improves how objects integrate with their surroundings, bringing Dorian’s rendering closer to the visual standards expected from modern graphics engines.
What is IBL, and why do we need it?
Traditional rendering engines calculate illumination using only the light sources present in a scene. While this approach works, it ignores an important aspect of real-world lighting: light scattering.
Light is constantly bouncing off surfaces around us. The ground reflects light upwards, the sky casts ambient light downwards, and nearby objects subtly influence the colour and intensity of the light reaching other surfaces.
In the scene shown at the top of the post, both the sky and the ground contribute secondary illumination to everything in view.
Without these indirect lighting effects, objects often appear disconnected from their environment. They may be correctly lit, but they do not quite look as though they belong in the scene.
The most accurate way to simulate these interactions is through ray tracing. However, ray tracing is computationally expensive and typically requires high-end graphics hardware to run smoothly.
IBL approaches the problem from a different angle.
In simple terms, it cheats.
How IBL works
IBL captures a low-frequency, 360-degree sample of the surrounding environment and uses that information to approximate indirect lighting.
Some systems sample only the sky. Dorian samples both the sky and the ground, allowing it to capture a broader range of environmental lighting information.
More advanced rendering systems go a step further and often use light probes, which can sample lighting from anywhere within a scene. Dorian does not currently support light probes – that’s a future story on the roadmap.

A low-frequency sample of the surrounding environment. This is known as an irradiance map. At runtime, Dorian tracks the orientation of the environment relative to the camera and uses the irradiance map to influence the lighting calculations applied to objects in the scene.
The result is subtle but important: objects begin to inherit colour and lighting cues from their surroundings.
The effect in practice

You can see the effects of light scattering on this TIE Fighter The underside of the craft picks up a slight green tint from light reflected by the ground, while other areas receive warmer tones from atmospheric scattering and the sky.
Normally these colour shifts are extremely subtle, but they help convince the eye that the object genuinely exists within the scene rather than being placed on top of it.
However, this effect is a lot more pronounced on the TIE Fighter because its light grey hull readily reveals changes in environmental lighting.
In the image below, a magenta false-colour visualisation highlights where ground-scattered light is contributing to the final image.

Magenta false colouring is used to show just where the ground light scattering is being applied. Reflections benefit too
IBL also improves the appearance of reflective materials.
The chrome TIE Fighter below demonstrates how environmental lighting contributes to more convincing shading and surface definition, even without the use of light probes.

The chrome TIE Fighter benefits from more realistic environmental lighting despite the absence of lighting probes. Looking ahead
With the addition of IBL, Dorian’s lighting system is continuing to mature towards the capabilities expected from a modern professional rendering engine.
Combined with its existing support for tone mapping, HDR-to-SDR conversion, and post-processing effects, the renderer is now producing significantly more convincing images than it was only a few months ago.
There is still plenty of work ahead, but the investment is beginning to pay dividends.
That’s it for today’s fly-by post.
Have Fun!
RobP
-
This is a quick YouTube video in which I talk about Dorian, my second-generation graphics engine that will power Sojour 2.
Work is still underway, but I wanted to discuss how Dorian fits into Sojour 2’s development roadmap and showcase some of its features when compared with Ionian, Sojour’s current graphics engine.
I’ve posted this video on my other YouTube channel, as I suspect most visitors to the Sojour channel are there to learn about the VTT rather than the inner workings of a home-made graphics engine.
This will likely be my approach going forward until development of Sojour 2 begins in earnest.
To clarify things with regard to Sojour 2, every Sojour customer will get it for free when it’s done.
That’s it for now.
Have fun!
RobP
-

Dorian now supports PBR (Physical Based Rendering)! The graphics engine for Sojour 2 has had two quite large enhancements made to it.
Firstly the lighting and materials rendering system now uses Physical Based Rendering (PBR). This is a rendering technique that uses approximations of actual lighting physics to produce more natural lighting.
The other advantage of PBR is that it can simulate practically any material that you can think of with the correct textures and setup.
For example, the sphere shown above is actually a smooth sphere, but looks rocky thanks to the textures below combined in magical mathematical PBR ways:

Dorian now accepts many texture types to support its material modelling. Here is the same sphere with different textures and materials applied, as you can see, it’s totally smooth!:

Applying different materials to anything is a doddle! Even where a model has no textures, like the TIE Fighter for example, you can easily change its look on the fly:

I’d like a TIE fighter please Sir! But in Chrome! The next huge undertaking was removing DirectX from the engine and keeping it completely separate:

DirectX-11 has now been separated from the Engine! It was a huge job, but it is necessary to allow the engine to support other backend renderers such as DirectX-12 or Vulkan.
This was a huge undertaking as all aspects of the system got altered to support a more abstracted means of rendering.
What makes writing a graphics engine difficult – apart from the complexity – is ensuring performance is not compromised by code changes such as the refactor above.
The amount of code changed to separate DirectX-11 was staggering and the initial performance results were not too good (all graphs measure the scene you see above):

Whilst the new one held 120 FPS (my TV’s refresh rate) – it took a noticeable dip in performance for 1% and 0.2% lows. 
These are frame times. Lower is better and you can see that the newer version’s performance really falls away compared to the pre-DirectX separated version. It also has a ton of random spikes in frame time. (Frame time is a better measure for performance) 
This graph really brings home how much worse the newer system was in terms of performance. Detailed performance measurements when creating a graphics engine are critical. It’s almost impossible to see the above differences by eye – so you must take the measurements before and after each change.
In this case I traced the problem to the fact that material caching had been broken by the refactor. After around a day of coding, everything is now back where it should be (and in fact a little better than it was!):

Much better! In fact we are now performing a little better than the original system! 
The new version produces lower frame times across the board! The only thing left to investigate are the occasional big spikes. 
For smooth frame times the newer Direct-X system is way better than the old one! Quite amazing given how much more complex the new version is! This is one of the reasons why engine development takes so long. You aren’t just writing code that works, you are also writing code that’s highly performant!
I’ll leave you with a You-Tube video showing everything in motion. As usual, the smooth framerates never seem to translate well on You-Tube. If you look carefully, you’ll see me toggling the TIE Fighter to chrome and back!
Dorian in action! Still a long way to go, but we are getting there.
I know writing Dorian seems like a diversion, but Ionian which is the engine used in Sojour cannot be used in conjunction with the latest technologies hence the re-write. (To be fair, Ionian lasted over twenty years, so it has had a great run for its money!)
Have Fun!
RobP
-
Today I wrote the shaders that model the way glass behaves.
Dorian is already coded as a PBR sorted, multi-pass renderer, so incorporating the new glass system was pretty trivial.
In previous videos, the TIE Fighter’s “glass” was simply represented by non-rendered gaps in the geometry. Now those panels are rendered as actual glass.
The glass calculations include almost everything except refraction which is a rendering feature rather than a shader feature.

Fresnel and environmental reflections! The effects of the glass shader are quite subtle in a still image, but if you look carefully, you can see them.
The video below shows the TIE Fighter moving around, which helps demonstrate the glass modelling in the external views. Alas, the internal view has no glass modelling because the author of the model did not include any internal glass geometry.
Concentrate on the left and top panes, and specifically on the TIE Fighter’s glass panels, both on the canopy roof and on the front windows.
That’s it for this fly-by post!
Have Fun!
RobP
-

Dorian being put through its paces! I took a month off to pursue other hobbies and have now returned to continue work on Dorian, Sojour 2’s new graphics engine.
Dorian is needed because Sojour 2 will use Microsoft’s latest .NET framework, and that framework comes with a development environment that can only compile 64-bit applications. Alas, Ionian, the graphics engine used in Sojour 1, is only 32-bit, hence the need for a new engine.
On the plus side, Dorian can render to multiple windows simultaneously, which has huge implications for Sojour 2, including the ability to project a DM-only view of a map during in-person games.
During this development tranche, the ECS engine received a major overhaul. I now have a much deeper understanding of the ECS architecture, which enabled me to make some significant performance improvements.
I’ve also added the ability to import external 3D models, giving the engine feature parity with Ionian.
Finally, the lighting engine has been improved, although there is still a long way to go.
Here is a video showing the current version being put through its paces. The measured frame rate is accurate, as verified using NVIDIA’s FrameView tool.
I’m running Dorian with VSync disabled and letting it run flat out, which explains the rather high frame rate.
Unfortunately, game engine videos on YouTube never look quite as smooth as they do in person, but the engine itself is ultra-smooth. You can watch the video here:
There is still a great deal more to do, but once Dorian is complete, I can turn my attention to developing Sojour 2 itself, which will incorporate this graphics engine.
As noted in previous posts, Sojour 2 will be free for all existing Sojour customers.
Have fun!
RobP
-

A campaign asset! This release fixes a number of issues in and around the characteristics of campaign assets.
Campaign assets are quite complex in that they can either be unique or non-unique (see the screenshot above). This setting has a direct impact on how characteristics work for a campaign asset.
In general, unique campaign assets can only have one instance per map. When its characteristics are altered, the same alteration will propagate to all maps and journals.
Non unique campaign assets have characteristics that are completely independent and will never change because of an alteration made to another on-map instance.
Here is a list of the actual fixes that were implemented:
- Changing the characteristic of a unique campaign asset will now affect all maps equally. For example if you have a unique spacecraft and reduce its hit points from 20 to 14 on one map, all other maps will be updated to reflect that spacecraft’s new hit point total.
- Non-Unique campaign assets are all completely independent and can have multiple instances per map. Changing their characteristics never alters the characteristics of other instances.
- Editing campaign assets no longer resets their on-map characteristics. Note, this fix will only kick in for existing on-map campaign assets after their on-map characteristics have been altered by the player with version 1.6.20.0 of Sojour**.
- Editing the maximum value for a characteristic of a non-unique campaign asset will only affect newly dragged campaign assets to a map. Existing on-map campaign assets retain their current values. (This is the same behaviour as tokens)
- Editing the maximum value for a characteristic of a unique campaign asset will alter all on-map versions to the new maximum value, regardless of which maps they appear on. (Again, the same behaviour as tokens)
** I did think of adding a data updater to update internal campaign asset values so that this fix would kick in right away. However, I decided against this approach as older versions of Sojour could have unique campaign assets on multiple maps, each with differing characteristic values. For that case, which value would the updater use? It would have to pick one at random, which might make on-map alterations that the user does not want – hence why I abandoned this approach.
That’s it for this release!
Have Fun!
RobP
-

A character page! This update includes a single critical fix, and all customers are strongly encouraged to upgrade.
The issue affected character, token, and campaign‑asset images when Sojour’s data folder was located on a network drive or a cloud‑synced folder such as OneDrive.
In earlier versions, if that drive was slow to update, Sojour could crash when you changed or added an image for a character, token, or campaign asset.
This behaviour has now been fully resolved.
Have Fun!
RobP
-

Turn Sequences! This is a small release that fixes an issue with Turn Sequences when they are used in various environments with different monitor counts.
The older system would try and restore the Turn Sequence windows to their last saved positions without taking into account the number of available monitors.
This could result in the Turn Sequence windows being restored off screen where a newer environment has fewer, or smaller monitors.
The fix now checks if the saved coordinates are off screen. If they are, it will restore the Turn Sequence windows to the main monitor.
That’s it for this release!
Have Fun!
RobP
-
This release focuses on giving users the ability to change the language Sojour uses when spell‑checking journals and documents.
Until now, Sojour has always defaulted to Windows 11’s system language — and there was no way for you to change it. Now you can!
There is one caveat: you can only choose from languages that are already installed on your operating system. For example, I currently have English (United Kingdom) and English (United States) installed:

My installed languages Most Windows 11 installations allow you to add as many additional language packs as you need.
If you open Sojour’s Settings, you’ll now see a new option:

We can now override the default spelling language! A new setting called “Spelling Language Override” has been added. It defaults to using the operating system’s language, and it will tell you which one that is — in my case, EN‑GB (English – Great Britain).
If you want to change the language, simply tick the checkbox:

Override ticked! – We can now type in the language we want to use. Once enabled, you can type in the shorthand name of the language you want to use.
Unfortunately, .NET provides no reliable way to detect which language packs are installed, so the best I can do is give you a text field. To help, Sojour will tell you whether the language you typed is recognised.
In the screenshot above, EN‑GB is recognised. If I type “DE-DE” (German), it fails on my machine:

Sojour does not recognise the language! This isn’t because the name is wrong — it’s because I don’t have German installed. Windows reports that the language isn’t available, and Sojour highlights the field in red to let you know.
If you select a language that isn’t recognised, spell checking will be disabled. You’ll see this when viewing a journal:

No valid spell check language! – this is represented by NA (Not applicable) in the lower pane. Once a valid language is selected, the indicator at the bottom of all RTF panes will update to show the chosen language:

I have now selected English US. If you untick the override checkbox, Sojour will revert to the operating system’s default language.
Other small changes
- A spelling fix in the helper windows
- Updated to the latest version of WebView2 (used for PDF viewing)
That’s it for this release. Have fun!
RobP
