This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Программирование
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and 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
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Stars Generator for Billboards

Stars generator allows for creating a starry night sky, with stars drawn fast on Billboards. It is found on Billboards node → Stars tab.

Billboards with stars

Billboards with stars

How to Create Stars Billboards

To create stars billboards, follow these steps:

  1. Add Billboards node.
  2. On the Billboards tab of the Parameters window, go to the Stars section and specify a FK5 stars catalog (the Fifth Fundamental Catalogue) in the Catalog field.
  3. Make sure that the Radius of the created sphere with stars is not bigger than the camera's far clipping plane (Camera SettingsFar clipping). Otherwise, stars will not be seen.
  4. Click Generate button to create billboards.
  5. Click Texture button 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 ObjectBillboards.
    2. Go to Textures tab of the Parameters window and load a diffuse texture: select the previously saved stars texture.
  7. After changing any parameter in the star 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 settingsFar clipping).
For big worlds, stars Billboards also needs to be attached 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: 04.06.2018
Build: ()