Logic Gadgets: Sun & Sky

Icon logic gadgets sun and sky
Name of gadget Sun & Sky
Section Cameras & Lighting
Number of Tweak pages 2
Author LadylexUK, QuietlyWrong
Last updated 2 April 2020 [v2.08]

Description

With only rare exceptions, a Scene needs a light source and Dreams provides a standard illumination solution. Even when creating completely new scenes, you’ll get a default Sun and Sky.

Grabbing this gadget from your logic gadgets and stamping it in your scene doesn’t create a new “Sun” (or Sky), it merely allows you to customise the built-in one, like a global setting. For this reason, only one of these can be active at any one time – but that won’t stop you switching between them or animating changes to their settings. (OK, technically, you can have multiple gadgets active, in which case settings like the brightness and colour will be averaged, but you can only have one sun and one selection of sky image at a time.)

The Sun appears as a patch of brightness in the sky (if you want it to appear!) and you can change its location, brightness, colour and size. You can also choose whether it casts shadows. Although it’s called the Sun, you could make it a less intense, silvery shade in a dark sky to stand in for a full moon.

The Sky has a base colour you can tweak, as well as a number of styles and fleck types to choose from. You can also determine the overall fogginess of the Scene and make the horizon more or less distinct.

You can make a couple of changes to the Sun and Sky directly on the gadget that can’t be made directly through the tweak menu (at present). These are the rotational position of the Sun and of the Sky’s pattern, as well as the “distance” (brightness) of the sun. Grab, move and resize the bright “Sun” gizmo on the gadget itself to change its angle, brightness and size; grab and rotate the sky sphere (the sphere just above the gadget) to rotate the Sky image. To change these while a Scene is playing, you will need to use the Action Recorder or Keyframes.

Example Tutorial (adapted from Media Molecule)

The best way to see all the effects that you can achieve with the Sun & Sky gadget is to stamp one in a scene and fiddle with it!

  1. Stamp a Sun & Sky gadget into your scene (preferably one with plenty of sky in it!)
  2. The big ball on top of the gadget is the Sky. Grab it (R2 trigger) and spin it, and watch the scene’s sky image revolve.
  3. The small bright ball on a line above the Sky part is the Sun. Grab it (R2 trigger) and move it around the centre of the Sky. Note how shadows and lighting shifts accordingly, and the sun probably appears in the sky when the sun is pointing “away” from the gadget.
  4. Open the tweak menu and change the colour of the sun, maybe give it a blue colouration and see what effect that has.
  5. With the sun visible in the scene, try making it larger and smaller by dragging the Sun Size slider and see the range of sizes avaialble.
  6. Switch the “Sun Visible” tweak off and on again to see that it affects only the appearance in the sky, not the illumination.
  7. Click on the Sky Properties tab of the tweak screen.
  8. Change the Sky Image and see what effects that has.
  9. Change the Sky Fleck Type to see how that affects the sky’s appearance.

Feel free to look through all the settings available. When you’re trying to find the right mood for your scene, it pays to experiment!

 

Tweak Menus

Click on arrows to reveal

Tweak Menu 1: Sun Properties
2.07 Sun and Sky 1

[image from v2.07; unchanged in 2.08]

  1. Tweak Menu page 1: Sun Properties
  2. Colour
    2a. Input
    2b. Output
  3. Sun Brightness
    3a. Input
    3b. Output
  4. Sun Size
    4a. Input
    4b. Output
  5. Sun Visible
    5a. Input
    5b. Output
  6. Cast Shadows
    6a. Input
    6b. Output
  7. Sun Shadow Scale vs Detail
    7a. Input
    7b. Output
  8. Power
  1. Menu page indicator
  2. Colour
    Whether you’re after the white hot midday sun of a scorching desert or the ruby rays of a relaxing tropical sunset, you can pick any colour for your sun right here. Pale blues may suggest the moon instead, or try a greenish or purple look for a surreal or alien landscape.
  3. Sun Brightness
    Here you can specify how bright the sun appears in the sky.
  4. Sun Size
    This tweak allows you to specify everything from a small point of light to a giant catastrophe-suggestive star.
  5. Sun Visible
    The sun doesn’t have to appear in the sky to illuminate the scene and cast shadows and sometimes you won’t want it cluttering up the sky. Tidy it away by deactivating this option.
  6. Cast Shadows
    By default, the sun casts shadows from elements in your scene, but perhaps you don’t want that – maybe you’re underground or it’s just a cloudy day. Deactivate this option to deactivate shadows. And if you’re trying to optimise performance, note that fewer shadows means better frame rates in Dreams.
  7. Sun Shadow Scale vs Detail
    This tweak allows you to change the balance of sunlight shadows over distance – you can increase the level of detail close to the camera at the expense of shadows further away (low %) or increase the overall detail further from the camera at the expense of close detail and having softer shadow edges (high %). The effect can help make a scene seem small or, conversely, expansive.
  8. Power
    This is where you turn the gadget on/off.
Tweak Menu 2: Sky Properties
2.07 Sun and Sky 2

[image from v2.08]

  1. Tweak Menu page 2: Sky Properties
  2. Sky Image
    2a. Input
    2b. Output
  3. Sky Fleck Type
    3a. Input
    3b. Output
  4. Sky Brightness
    4a. Input
    4b. Output
  5. Sky Saturation
    5a. Input
    5b. Output
  6. Sky Hue Cycle
    6a. Input
    6b. Output
  7. Sky Tint Colour
    7a. Input
    7b. Output
  8. Sky Tint Intensity
    8a. Input
    8b. Output
  9. Horizon Definition
    9a. Input
    9b. Output
  10. Fleck Shade Randomness
    10a. Input
    10b. Output
  11. Fog Range
    10a. Input
    10b. Output
  12. Power
  1. Menu page indicator
  2. Sky Image
    This slider can be used to select one of a number of built-in patterns for the sky. You can still impose a “tint” colour for the pattern, and use saturation and hue to further subtly alter its appearance. Not to mention rotating the whole sky using the widget directly. Combined with Fleck Type, the sky can adopt a whole range of appearances.
  3. Sky Fleck Type
    The sky is drawn from flecks – like almost everything in Dreams – and by specifying the fleck type here you can dramatically alter the “texture” of the sky.
  4. Sky Brightness
    Specify how bright (or dim) you want the sky to be, and the amount of corresponding illumination on the elements of your Sccene. Pull it all the way down for a night scene or ramp it up for high noon in dry, blistering heat.
  5. Sky Saturation
    Not raindrops but colour! Use this slider to determine how much colour the sky has – if this is a low value, your skies will be very grey, regardless of colour.
  6. Sky Hue Cycle
    Use this slider to change the sky’s hue; it works better with stronger colours. You can cycle through reddish to blueish tones. This affects all the colours in the sky image equally so if your sky ranges from red to yellow, say, a variation in hue to make the red look more yellow will also make the yellow look greener as a knock-on effect.
  7. Sky Tint Colour
    When you need to get the sky to the perfect colour, the selection of Sky Images and the Hue Cycle probably won’t be enough on its own. Use the Sky Tint Colour to add a tinge of any colour you choose to the atmosphere, and use the Intensity slider below to determine how subtle the effect is.
  8. Sky Tint Intensity
    Having selected a Sky Tint Colour to add to the sky, increase this value to increase the amount of effect that has.
  9. Horizon Definition
    Use this to choose between a hazier or sharper horizon definition.
  10. Fleck Shade Randomness
    Use this to change the amount of random variation in the brightness of the flecks that make up the sky, from subtle to dramatic. With Sky Tint Intensity at 200%, Horizon Definition and Fleck Shade Randomness at 0% you can create a sky that is just one block of colour.
  11. Fog Range
    There is a default degree of “mistiness” in your scene, beyond which elements become increasingly obscured. Use this tweak to determine what that distance is. A lower distance can help improve performance when you’re optimising your level, or just lend an eerie effect to background elements. Note that there is also a Fog gadget that can be used for localised fog patches.
  12. Power
    This is where you turn the gadget on/off.

Lex Tips

QW Tips

Troubleshooting your sun and sky: one very common problem with this gadget is that no matter what settings you use, the sun and sky don’t seem to change as much as you’d like; you might set the sky to rich red, full intensity, but only get a vague purple, for example. In situations like this, far and away the most likely culprit is another Sun & Sky gadget lurking somewhere in your scene. When two or more are active, Dreams takes the average between them.

To solve the problem, find the rogue gadget and turn its power off or delete it altogether. Finding it can be a problem – it may be sneakily embedded inside a group or on a microchip. If you’re struggling to find it, try deleting one object at a time from your scene and then undoing the deletion before moving to the next one. Unless you suspect it’s your own Sun & Sky gadget, placed earlier, concentrate on any assets stamped in from the Dreamiverse. Creators sometimes leave these gadgets in their puppets and sculpts not knowing what problems it can cause. If you delete an object and the sky changes, you can be sure that there is something in that object affecting the environment lighting. Also look out for the Grade & Effects gadget that can cause similar interference.

Useful Tutorials

Version Updates

v2.03: Fleck Shade Randomness tweak added to allow fine-tuning of the sky’s appearance.

v2.08: Sun Shadow Scale vs Detail tweak added to give the creator choice in the balance between shadow drawing detail and distance.

Comments and Feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: