Hide navigation sidebar
Hide table of contents sidebar
Back to top
Toggle table of contents sidebar

# Setup guide

To install this project, import the corresponding zip file into Blender addons and activate it.

This project requires external dependencies, which can be downloaded with a provided button in the preferences. Executing this command will probably require elevated privileges. If the installation fails, launch Blender as an administrator and try again. If it succeeds, restart the app normally.

The addon page will indicate whether ModernGL is installed.

If you have the Fedora operating system, this addon might not work, as ModernGL can’t attach itself to Blender’s drawing context on this operating system.

## Manual ModernGL installation

Go to your Blender installation directory and to the version you want to use. Then navigate to the `python\bin` directory. Path example:

`C:\Program Files\Blender Foundation\Blender 3.5\3.5\python\bin`

Once there, open this folder in the command line and install ModernGL through the Python executable:

`python.exe -m pip install --upgrade moderngl`

or

`./python -m pip install --upgrade moderngl`

## Uninstalling

To uninstall the project, go to the addons tab and press remove. Removing the ModernGL library needs to be done manually.

Go to the Python folder specified above in the Manual ModernGL installation section and execute:

`python.exe -m pip uninstall moderngl`

or

`./python -m pip uninstall moderngl`