How Can We Help?
Print

GodotSky Presets

To make it easy to save and adjust parameters, GodotSky makes use of a custom resource called Sky Presets.

Sky Presets contain the customizable parameters that allow you to adjust the visual characteristics of the sky. GodotSky ships with two presets: default and alien.

Editing a Preset

Presets can be edited directly in the inspector and then saved to keep any changes. However, this will overwrite any resource used and COULD potentially change other presets if they use the same resources.

If you inadvertently overwrite a resource, you can reload the resource from the source zip.

The best practice is create a new preset from either default.

Creating a Preset

To create your own preset:

  • Under the Preset folder, create a New Resource
  • Select SkyPreset as the Resource type
  • Name your new preset
  • Select your new preset resource file

You will see the editable parameters in the Inspector tab, set with the values of the default preset.

Integer and float values can be adjusted right away and saved.

Curves and gradient values will need new copies of those resources or they will overwrite other presets.

To do this:

  • Duplicate one of the preset folders, preferably one you’d like to work from as a base
  • Name this folder like your new preset
  • Within this folder, rename each resource in a way that you can distinguish it from other preset resources (ie: mypreset_baseskycolor.tres)
  • Within your new preset resource, go to the Color Curves parameters and Quick Load your new preset resources for each setting
  • Save your new preset

Your new preset will now use it’s own resources that can then be customized without compromising other presets.

Loading a Preset

Loading a preset is a simple process. Go to the GodotSky node and change the Sky Preset resource to your new custom preset. You can safely made changes to the resource here or make it unique.

Ready to start your game dev journey?

Learn the skills and tricks to making your own games