# CometRenderer initialization

Before you can start working with **CometRenderer**, you first need to initialize it.

To do this, you need to call the `CometRenderer.init()` method <mark style="color:$warning;">(Render initialization must occur in the thread in which OpenGL was loaded)</mark>:

{% code lineNumbers="true" %}

```java
public static void main(String[] args) {
    /*...*/
    
    CometRenderer.init();
    
    /*...*/
}
```

{% endcode %}

> если что то не работает добавь // на каждую строчку. хитори 20.12.2025
