I've just written a small app that will render over 100+ OpenGL ES 3.0 shaders (pinched from ShaderToy.com) to give an idea of what can be done with the RPi 4 GPU.
Link: http://www.skillmanmedia.com/ShaderToyRPi4.zip
You will need to install the SDL2 libraries from a terminal window and reserve 128MB GPU mem ...
Code: Select all
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-image-dev
sudo apt-get install libsdl2-ttf-dev
sudo apt-get install libsdl2-mixer-dev
(You will need to set permissions first by selecting ShaderToy, right-click 'File Properties->Permissions->Execute' to 'Anyone')
Use the SPACEBAR to jump to the next shader and ESCAPE to exit.
There are some shaders that allow you to use the mouse (navigation/rotate etc..)
The 'options.txt' file allows you to change a few obvious settings.
Note - this will ONLY work on the Raspberry Pi 4!
Please let me know if you have any problems.
Have fun!
