← all videos

Using ChatGPT-4 to write OpenRGB shaders for keyboard and PC lighting


Link to textfiles: https://drive.google.com/drive/folders/1_Jhx55_0Xz8a0f8d52hNMFtZws73EBoH?usp=sharing

Summary

A tutorial/experiment where Linus gets ChatGPT (GPT-4) to write shader code that runs in OpenRGB's Effects Engine plugin, displaying generated RGB effects, including an audio-reactive one, on his HyperX Alloy Origins Core keyboard and PC lighting.

What happens

Spoken content

English. "Can AI make RGB profiles or can it not? Well we can try." He explains shaders are code, so ChatGPT can write them, using a prompt with example code so output works in OpenRGB (text files linked in the description). First requests (e.g. a cup of hot tea) are too complex; abstract ones work. He asks it to optimise for the 16x6 key matrix, then an audio-reactive shader with pink and blue, selecting an audio device (a headset monitor rather than his QuadCast mic), and asks for a swirl. He calls the result "pretty damn cool" and encourages viewers to experiment.

Audio / music

Voiceover plus the music used to demo audio reactivity; a track's album art appears but I could not identify it.

Topics & keywords

ChatGPT, GPT-4, OpenRGB, Effects Engine, shaders, GLSL, AI-generated RGB, audio reactive, HyperX Alloy Origins Core, keyboard lighting, QuadCast, PC modding

Context

English-language tech experiment, uploaded 2023-04-08, 426 s (the Short version is "ChatGPT makes your keyboard look SICKK"). 1,318 views, 23 likes, 7 comments.