This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

Stars Generator for Billboards

Stars generator allows creating a starry night sky, with stars drawn fast on Billboards. It is found in the Node tab -> Stars section of a Billboards object.

Billboards with stars

Billboards with stars

How to Create Stars Billboards#

To create the stars billboards, follow these steps:

  1. Add the Billboards node.
  2. In the Node tab of the Parameters window, go to the Stars section and specify a FK5 stars catalog (the Fifth Fundamental Catalogue) in the Catalog field. You can download, unpack, and use the following catalog file: catalog.zip.
  3. Make sure that the Radius of the created sphere with stars is not bigger than the camera's far clipping plane (Camera Settings -> Far clipping). Otherwise, stars will not be seen.
  4. Click Generate to create billboards.
  5. Click Texture and choose a location to save a texture atlas with stars.
  6. Create a material for billboards with stars:

    1. Inherit a material from billboards_base_stars and assign it to the Billboards object.
    2. Go to the Textures tab of the Parameters window and load a diffuse texture: select the previously saved stars texture.
  7. After changing any parameter in the stars generator, click Generate to reload the diffuse texture.

Options#

Count The maximum number of billboards to create. If there are fewer stars in the loaded catalog, fewer billboards will be created.
Radius

Radius of the sphere with stars billboards.

Notice
  • To see the stars, the Radius should be smaller than the camera's far clipping plane (Camera settings -> Far clipping).
  • For big worlds, the stars Billboards object should also be attached to the camera (made a child node of the player) to avoid any clipping.
Angle The angular diameter of stars: the higher the value, the bigger the stars.
Catalog Load a FK5 stars catalog.

Latitude Latitude of the point to view the star sky from.
Longitude Longitude of the point to view the star sky from.
Location Choose a city to view the star sky from.

Generate Generate stars billboards and reload the diffuse texture, if it is set in the Material settings.
Texture Save an atlas texture for stars billboards based on the loaded catalog.
Last update: 2023-03-25
Build: ()