Gottfreid Haider did some mods to light shaders to get Processing running on the PI. I don’t think they are working with the Buster distro, in particular I find I need to run with either FakeKMS (RPi3 & RPi4) or FullKMS (RPI3) to get P2D and P3D sketches to work. It also seems that in particular for RPI4 the mods are not needed for the FakeKMS driver. I am developing PiCrate a ruby implementation of processing for the RaspberryPI and I can run the Advanced Shader “Blue Marble” example on RPI4 really well:-
Without modifying the light shaders, but the RPi3 struggles and perhaps needs the modified light shaders. Unfortunately both RPi3 and RPi4 shaders get detected by JOGL as
V3D
drivers (previously I believe the RPI3 driver was picked up as VC4
on Stretch). See also my blogpost.