I'm having opengl shader files which I want to load(using fopen) dynamically. How I can package these files in APK?
I tried this in gradle(assuming my shader file extn is glsh):
{
....
dependencies {
compile fileTree(dir: <shader file path>, include: '*.glsh')
}
}
This does not work. Also tried "files" dependencies, but I got error saying supports only "jar".
I'm using Android Studio. Anyone please help.