Skip to content

A macOS program that allows you to provide a descriptive prompt to generate and export shader videos

License

Notifications You must be signed in to change notification settings

cerkit/shader_studio

Repository files navigation

Shader Studio (MSL Animator)

Shader Studio is a tool for animating MSL (Metal Shading Language) shaders. It provides a built-in generative AI feature for creating shaders from a text prompt. It can then export a QuickTime movie of the animation. It can save .metal files and export .mov files. The .metal file contains the prompt used to generate the shader.

Explainer Video

Blog Post about Shader Studio

Prerequisites

  • MSL Animator (Shader Studio) requires Swift 5.7 or later.
  • Google AI Studio API Key
    • Sign up for a Google AI Studio account at https://aistudio.google.com
    • Get an API key from the API keys section
    • Set the API key in the shell environment (~/.bashrc or ~/.zshrc):
export GEMINI_API_KEY=your_api_key
source ~/.bashrc

Getting Started

Download and install Google Antigravity IDE from https://antigravity.google

Clone the repository:

git clone https://github.com/cerkit/shader_studio.git

Open the project folder in Antigravity IDE.

Ensure you have the Swift language Plugin installed.

Open the terminal:

CTRL + ~

cd shader_studio

Build the app:

swift build

Run the app:

swift run

About

A macOS program that allows you to provide a descriptive prompt to generate and export shader videos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published