Hi,
I have a problem with shaders, my model don't move (bones animation) when I activate a shader
my code
GLSLShader shader = new GLSLShader(Loader.loadTextFile("./vertexshader_body.glsl"),Loader.loadTextFile("./fragmentshader_body.glsl"));
for (Animated3D o : animatedGroup) {
o.getName();
o.setTexture("corps");
o.setRenderHook(shader);
o.compile();
o.build();
o.discardMeshData();
}
if I comment o.compile() my model moves but without shader
Can you please tell me why ?
Thanks