FAQ

General Questions

When I load the .blend file the viewport is blank. What’s happened?

You have to change the viewport shading mode to “Rendered” by clicking the viewport shading button in the top right of the viewport, Blender does not load the Rendered viewport shading by default.

Rendered viewport shading

How can I control the parameters more slowly when I move the mouse?

A neat trick in Blender is the shift key - whilst clicking and moving the mouse over a parameter, hold shift. The values will change more slowly. Especially for this node group, you can more subtly change the effects.

How best can I control the parameters? I’ve managed to change something so that I’m not getting a good effect. What do you suggest I do?

You can click and slide the mouse over multiple parameters and change them all at once - this is useful when you want to change a property on all 3 cloud settings.

Also, by hovering over the parameter box and hitting the delete key, the parameter will return to its default value.

There are a set of sample .blend files I have supplied in a .blend file to give you a head start in configuring different effects. I’m sure you can find more.

I have a Mac with an AMD Radeon GPU Pro, and when I load the 3D Nebula Generator I can only see the stars. What’s happened?

There seems to be an outstanding issue with Blender’s EEVEE volumetrics engine and the Mac OS AMD Radeon Pro, described here: https://developer.blender.org/T65873

I cannot see the Control Panel in Blender.

Make sure you have done the following:

  • Make sure the panel is installed.

  • The panel will only open with one of the Nebula Generator files with the ‘Nebula Box’ object in it.

  • If you cannot see any of the side panels on the right, pressed the ‘N’ which should make them appear.

Any general tips?

  • Activate the built in Node Wrangler add-on and hold SHIFT-CTRL and click on a node to see the individual effect of each node. This will help understand how the different parts of the effect is made up.

  • By adding node groups like noise and musgrave to the inputs of the main node group, you can get lots of additional interest effects. I’d encourage you to experiment and let me know if you get anything interesting.

  • 2D Version
    • I have added a curves node to the outputs of the stars and nebula node groups - playing with those settings will help intensify the colours of the nebula further.

    • Try swapping out the stars input for your own starfields and you should get more interesting effects.

  • 3D Version
    • When changing parameters that have a significant effect or preparing for a render, switch the viewport to Wireframe mode.

    • Start with a high Tile Size and low Samples value, change parameters, and then increase them gradually to get the desired effect.

    • When animating, you will experience strobing effects on the clouds unfortunately in EEVEE. This can be countered with a higher Samples setting but may not be resolved entirely. It is hoped that EEVEE can be improved to counter this.

    • Although the default renderer is EEVEE, the file can be adapted for CYCLES by changing the rendering format and changing the parameters of the materials. Even though there will be a significant performance, this removed the strobing artefacts mentioned earlier.

Should I use Eevee or Cycles?

You can switch between the Eevee and Cycles render engines at any time in the Quality section of the control panel or in Blender’s Render Properties. Here are some advantages and disadvantages of each render engine to help you choose.

A possible workflow is to work in Eevee to set up the overall effect, and then switch to Cycles to tailor it further, if needed.

Eevee

Advantages of Eevee

Nebula Generator Controls
  • Quickly visualise the effect in the viewport.

  • Faster than Cycles.

  • Good for medium resolution still shots and backgrounds.

Disadvantages of Eevee

  • When animating, a strobing effect can occur. This is because EEVEE converts the nebula to flat 2D cards when rendering. The Cycles rendering engine does not have this issue.

  • Edges of the clouds can appear blurred, which can be sharpened if you either decrease the tile size or change Blender’s code slightly to set an even smaller tile size than the default. However there is a limit to how sharp the render will be at high resolutions.

  • Intended as a fast preview renderer, Eevee will encounter performance issues at higher >4K resolutions.

  • Whilst rendering, Eevee will use your display adapter which will cause general slowdown on your computer.

Cycles

Advantages of Cycles

Cycles
  • Better for animations as it eliminates Eevee’s strobing effect.

  • At higher sample settings it will show enhanced detail (at the expense of performance).

  • Good for Higher resolution stills and animation.

Disadvantages of Cycles

Cycles
  • Slower render times.

  • Viewport Preview is slower than Eevee.

  • Effect will be slightly different to the Eevee version.

  • More settings to consider.

  • Fireflies, or speckled pixels, will occur which need to be resolved with the Denoiser. See the Denoising section.

How can I improve the Eevee render?

Tip

There are further hints and tips about which Eevee settings to change in the Eevee Quality Settings section.

Decreasing Tile Size

If you decrease Eevee’s volumetric Tile Size setting to increase the detail seen in the nebula. This setting is the size of the pixels in a volume:

Increasing Tile Size

Tile Size 16px

Increasing Tile Size

Tile Size 8px

Increasing Tile Size

Tile Size 4px

Increasing Tile Size

Tile Size 2px

This setting can be found on Blender’s Render Properties tab or on the Nebula Generator’s Control Panel:

Increasing Tile Size

Increasing samples

You can also increase the render samples, volumetric samples and volumetric shadow samples settings if you wish to have greater thickness and contrast at the expense of performance. Increasing the render samples will decrease any speckles in the clouds, especially around light sources.

../_images/samples_64_example.png

64 Volumetric Samples, 16 Shadow Samples (click to enlarge)

../_images/samples_128_example.png

128 Volumetric Samples, 32 Shadow Samples (click to enlarge)

Changing Blender codebase for a 1px tile size and higher sample limits

Warning

Advanced users only! This will require some knowledge of building Blender, altering small amounts of code, and may cause Blender to crash in some computer setups.

../_images/2px_example.png

Image at 2px Tile Size (click to enlarge)

../_images/1px_example.png

Slightly sharper image at 1px Tile Size (click to enlarge)

Changing the tile size

At the moment you can decrease Blender’s tile size setting to 2px only in the official Blender version. You can in fact alter Blender’s core code to provide you with a 1px option, and make a custom version of Blender from it. This will give a slightly sharper image than the default 2px, at the expense of memory usage and performance.

To change Blender’s code to do this:

  1. Follow the instructions to set up building Blender from the command line from the official website. Choose the instructions according to your operating system.

    You don’t necessarily need to install development tools, as we will be only altering small amounts of code which can be done in a test editor of your choice.

    Essentially, get to the point where you can build your own Blender with the make update and make commands.

  2. You will now have a copy of Blender’s source code in your local directory where you have set up the build. Find the following file:

    <blender code directory>\source\blender\makesrna\intern\rna_scene.c
    
  3. Locate the following block of code:

    static const EnumPropertyItem eevee_volumetric_tile_size_items[] = {
        {2, "2", 0, "2 px", ""},
        {4, "4", 0, "4 px", ""},
        {8, "8", 0, "8 px", ""},
        {16, "16", 0, "16 px", ""},
        {0, NULL, 0, NULL, NULL},
    };
    
  4. Add the line {1, "1", 0, "1 px", ""}, to the start of the variable declaration. The code block should now look like this:

    static const EnumPropertyItem eevee_volumetric_tile_size_items[] = {
        {1, "1", 0, "1 px", ""},
        {2, "2", 0, "2 px", ""},
        {4, "4", 0, "4 px", ""},
        {8, "8", 0, "8 px", ""},
        {16, "16", 0, "16 px", ""},
        {0, NULL, 0, NULL, NULL},
    };
    
  5. Optional Step: You can increase the limit on the volumetric samples and volumetric shadow samples settings in the same file.

    Warning

    Higher settings here will dramatically increase render time.

    Change the following lines of code:

    RNA_def_property_range(prop, 1, 256);
    .
    .
    .
    RNA_def_property_range(prop, 1, 128);
    

    To this:

    RNA_def_property_range(prop, 1, 2048);
    .
    .
    .
    RNA_def_property_range(prop, 1, 512);
    
  6. Once the changes are made, go to the command prompt and build blender:

    make
    

    Note

    If you re-build Blender, especially after a period of time, use the make clean and make update commands. See make help for further options.

  7. When built, navigate to the blender executable to launch Blender. In Windows, for instance, this will be:

    build_windows_x64_vc16_Release\bin\Release\blender.exe
    
  8. You should see the 1px tile size option in the drop down options and in the Nebula Generator Control Panel:

    1px from the control panel

How can I improve the Cycles render?

Tip

There are further hints and tips about which Cycles settings to change in the Cycles Quality Settings section.

Which values to change

Samples comparison

Go to the the Cycles Quality Settings section for further hints and tips.

  • The main parameter will be the Samples setting under the Samples tab of the Render Properties section in Blender. This increases the number of times Cycles calculates a render pass. Increasing this setting improves the quality and detail, and it is recommended to increase this in multiples of 32 to optimise the computer’s memory address size allocation (e.g. 32, 64, 128, 256, 512, 1024). Higher values will slow render times, however, which can be countered by the use of other settings such as Adaptive Sampling.

  • Change the Adaptive Sampling threshold value tells Cycles to estimate the amount of noise/Fireflies in an image, and to stop rendering an image tile when it is of a good enough threshold. Reducing the threshold value makes Cycles more particular at identifying noise/Fireflies in an image tile.

  • Enabling the Denoiser will attempt to remove unwanted Fireflies from the image, but still needs to be used in tandem with higher samples settings. Note that the open source denoiser has occasionally caused crashes.

How can I create a panoramic skybox?

Panoramic Example

Panoramic Skybox Example (Cycles Only)

Warning

This works for Cycles only. Eevee does not have panoramic camera settings at the moment.

You are able to render a panoramic view of the nebula in Cycles mode which is useful for creating HDRIs and background environments for games:

  1. Make you are in Cycles rendering mode.

  2. Move the camera to the center of your scene (location 0,0,0).

  3. Select the camera and go to the ‘Object Data Properties’ tab on the right hand panel.

  4. In the Lens section change the following:

    • Type: Panoramic

    • Panorama Type: Equirectangular

    Panoramic Example
  5. You should now be able to view and render a panoramic view in the viewport.

    Panoramic Example

Note

Panoramic Example

As star glow is added to the image afterwards you may notice cut-off glows when the image wraps around a spherical background. You can address this by either reducing the glare effect or by correcting the result in an image editor.