Thanks Neil. If I dont´t define the version I get an error requiring it (only on OSX). I was using some modern syntaxis, so I tried moving back to atributes and varyings, but seems like OSX does not support anything older than 150.
Shaders included in examples work without the version directive, maybe its related to using some fancy functions like texture2Dlod…
I´ve also tried defining one of Processing´s own shader type, like PROCESSING_TEXLIGHT_SHADER, but it does not change anything.