capture the g-buffers of Subnautica (and Subnautica Below Zero) and save them in JPG/PNG format to create a rich dataset.
the captured gbuffers are:
- Final Render (WORKING)
- World Normal Map (WORKING)
- Local Normal Map (WORKING)
- Depth Map (WORKING)
- Albedo Map (WORKING)
- Specular Map (WORKING)
- Ambient Occlusion (WORKING)
- Before Lightning (WORKING, USED AS EMISSION MAP APPROXIMATION)
Install by extrating .zip inside "PathToSubnauticaFolder/BepInEx/plugins".
You can configure the mod inside the game by pressing F1. (ConfigurationManager required)
Press F11 to toggle mod core.
Then, press F10 to toggle recording.
The captures are taken every one second by default.
The captures will be at "PathToSubnauticaFolder/BepInEx/plugins/GBufferCapture/captures".
F9 takes a single capture.
RECOMMENDATIONS:
- use dev commands such as "daynightspeed 100" to increase light diversity in you dataset. (SHIFT + ENTER opens command entry)
- In graphics disable "motion blur" and "lens dirt"
- https://www.nexusmods.com/subnautica/mods/1108?tab=files&file_id=8140
- https://github.com/BepInEx/BepInEx.ConfigurationManager (configure in-game mod variables)
Please, dont hesitate to colaborate with the project. Give your ⭐
For those who want to improve this project.
use Unity 2019.4.36f1: https://unity.com/releases/editor/archive
- https://github.com/yukieiji/UnityExplorer (very useful to inspect gameobjects ingame)
- https://github.com/AssetRipper/AssetRipper (very useful to decompile subnautica and read every script/shader of the game, remember to use "decompile" shader option)
- ShaderID/Segmentation per Material





