Serious Engine: Ray Traced
Real-time path tracing support for Serious Engine 1.10.
Building
Windows
-
Prerequisites:
- 64-bit CPU
- GPU with ray tracing support
- Git
- Vulkan SDK
- Visual Studio (any version after 2013)
- Python 3
-
Clone this repository:
git clone https://github.com/sultim-t/Serious-Engine-RT.git
-
Fetch RTGL1 library submodule:
git submodule update --init
-
Build RTGL1 library:
- The library uses CMake:
Sources/RTGL1/CMakeLists.txt
- Some of the configs can be found in
Sources/RTGL1/CMakeSettings.json
- Make sure that compiled static library
RayTracedGL1.lib
is located in eitherSources/RTGL1/Build/x64-Release
orSources/RTGL1/Build/x64-Debug
- The library uses CMake:
-
Build shaders:
- Run
Sources/RTGL1/Source/Shaders/GenerateShaders.py
. This script compiles SPIR-V files and places them intoSources/RTGL1/Build
- Run
-
Open solution
Sources/AllTFE.sln
in Visual Studio and build it.- The executables and libararies will be copied into
Bin
directory (orBin/Debug
if you are using the Debug configuration)
- The executables and libararies will be copied into
Other OS
Not supported.
Running
This version of the engine comes with a set of resources (SE1_10.gro
) that allow you to freely use the engine without any additional resources required.
However, to run Serious Sam: The First Encounter Ray Traced:
- Copy files from the original Serious Sam: The First Encounter
- The list of required files is on the Releases page
- Unpack
TFE_RT_Textures.zip
- Archive can be downloaded from the Releases page
- It contains additional upscaled textures and PBR textures
Note:
- When running a selected project, make sure its project settings on Debugging is set to the right command:
- For debug:
$(SolutionDir)..\Bin\Debug\$(TargetName).exe
- For release:
$(SolutionDir)..\Bin\$(TargetName).exe
- For debug:
- And its working directory:
$(SolutionDir)..\
License
This project is licensed under the GNU GPL v2.
x64 port is based on https://github.com/rcgordon/Serious-Engine (GNU GPL v2).
Some of the code included with the engine sources is not licensed under the GNU GPL v2:
- zlib (located in
Sources/Engine/zlib
) by Jean-loup Gailly and Mark Adler - LightWave SDK (located in
Sources/LWSkaExporter/SDK
) by NewTek Inc. - libogg/libvorbis (located in
Sources/libogg
andSources/libvorbis
) by Xiph.Org Foundation