This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Программирование на C#
Рендеринг
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров узла
Setting Up Materials
Setting Up Properties
Освещение
Landscape Tool
Sandworm
Использование инструментов редактора для конкретных задач
Extending Editor Functionality
Встроенные объекты
Nodes
Effects
Decals
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
UnigineScript
C++
C#
Унифицированный язык шейдеров UUSL
File Formats
Rebuilding the Engine Tools
GUI
Двойная точность координат
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
Работа с контентом
Оптимизация контента
Материалы
Art Samples
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

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 stars billboards, follow these steps:

  1. Add 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.
  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: 09.04.2021
Build: ()