Welcome, welcome, welcome, welcome! It’s time to review what happened with Flax this November. We’ve been busy, so let’s get started!
Flax 1.13.1 and 1.13.2

This month we’ve released two hotfix updates: 1.13.1 and 1.13.2, both bringing important bug fixes and some improvements. We believe more frequent patches will improve users’ experience instead of pushing devs towards daily master builds.
PSO Precaching

We’ve implemented new automatic PSO Precaching for DirectX 12 and Vulkan backends for Flax 1.14. This feature asynchronously creates Pipeline State Objects for game shaders at startup and scene load to avoid hitches during rendering. It’s all automatic – no need to configure it, but the new GPUDevice.DumpPSOs command and -gpuclear -gpudebug command arg will come in handy when profiling and optimizing games. On the picture above you can see CPU timeline with content processing threads that are creating PSOs in async. Our integration with Tracy profiler helps to debug performance, especially related to PSOs.
New Flax Editor UI

A few months ago, we teased the idea of reworking Flax Editor UI style. Now, we’re working on it, starting with new, darker color theme and new icon set. That’s just an early preview but gives a glimpse of our direction. You can track our progress on a public Roadmap. Aside from UI, we’re planning on reworking certain Editor tools/windows, including Game Cooker and Input Settings editors.

Edit If Attribute

New EditIfAttribute comes to Flax for extending objects editing that toggles editing speciifc field/property on or off – including inlined checkbox:
[EditIf(nameof(UseCustomDirection), Inline = true)]
public Float2 CustomDirection;
private bool UseCustomDirection;
New Sprite Atlas Editor

Hot news for 2D and UI designers: the new Sprite Atlas editor gets full sprite selection, undo/redo, sprite editing widgets and more tools. Moving or resizing sprites shows inlined hints about pixel count which help adjust sprites’ placement with pixel precision.
New Sprite Atlas Packer

Making sprite atlases by hand can be time-consuming; thus we’re bringing a new asset type: Sprite Atlas Packer, which can automatically arrange textures into a single atlas. It features variable resolution, mip-map generation, texture resizing, and automatic refresh when a dependent texture gets modified. Using it is very easy too, just make a new atlas and drag&drop all textures. It will lay them in and make sprites that can be referenced in UI or materials.
HDR Output
HDR output is a new feature that presents the output image to display in High Dynamic Range (HDR) on HDR-capable screens. When it’s enabled in Graphics Settings, Flax creates window swap chains with HDR output enabled, provided the platform, display, and rendering backend (DirectX 11 and 12 only – for now). It’s a first iteration of this feature: expect more improvements coming along. Especially, wider platforms support and more tooling (eg. HDR histogram display or UI luminance scale).
The current implementation uses scRGB color space with full-range linear light RGB via Rec. 709 primaries. This feature is not enabled by default as it depends on game-content implementation of HDR: lighting, UI and scene brightness.
0 Comments