2017-03-29, 13:56
Oh, posted wrong version by in my previous post, thus need to correct this (and I have updated my previous post with the correct information):
You actually should want to Kodi / RetroPlayer shaders to conform with GLSL ES 1.0 / WebGL shader specification (and not with GLSL ES 2.0) if you want to be compatible with the standard used by RetroArch shaders/renderer today.
https://github.com/Themaister/RetroArch/...SL-shaders
So best would be to have Kodi use GLSL ES 1.0 shaders as its main standard. And as most graphics controllers/adapters are backwards compatible they will support all of those.
Another tip with this link to RetroArch GLSL shader viewer (with online runtime compiler):
http://themaister.net/glslview/
RetroArch developer themaister have written this WebGL application to test your shaders against various images from your harddrive.
"Shaders need to conform to the GLSL shader format that RetroArch uses. You can find out more about this format here. This implementation is limited to two passes for now. GLSL presets are not currently supported either.
With the cg2glsl tool you can convert Cg shaders (Wiki, shader collection) to the RetroArch GLSL format.
The shaders should conform to GLSL ES 1.0/WebGL shader spec. The shaders converted with cg2glsl will ensure this"
You actually should want to Kodi / RetroPlayer shaders to conform with GLSL ES 1.0 / WebGL shader specification (and not with GLSL ES 2.0) if you want to be compatible with the standard used by RetroArch shaders/renderer today.
https://github.com/Themaister/RetroArch/...SL-shaders
So best would be to have Kodi use GLSL ES 1.0 shaders as its main standard. And as most graphics controllers/adapters are backwards compatible they will support all of those.
Another tip with this link to RetroArch GLSL shader viewer (with online runtime compiler):
http://themaister.net/glslview/
RetroArch developer themaister have written this WebGL application to test your shaders against various images from your harddrive.
"Shaders need to conform to the GLSL shader format that RetroArch uses. You can find out more about this format here. This implementation is limited to two passes for now. GLSL presets are not currently supported either.
With the cg2glsl tool you can convert Cg shaders (Wiki, shader collection) to the RetroArch GLSL format.
The shaders should conform to GLSL ES 1.0/WebGL shader spec. The shaders converted with cg2glsl will ensure this"