Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thanks! The shader code for animations is inside shader.glsl in the shaders folder (It's also in shadow.glsl, which is the shader used for every thing so its a bit messy). It's been a while since I looked at the code but if you managed to get an iqm model loaded and know how to start an animation it should work if you just pass all the variables you see that are needed in the shader. Go to libs > g3d > model.lua to see how I do it.

(2 edits)

Oh thanks for the reply! I think I managed to pass the variables but no success yet... Should I also update the camera shader or they are just for lights? Because there're no light sources in my project yet, since I'm going for a very retro vibe, and I saw that your camera is totally different from the g3d, idk if that may be the difference, since I'm using the default g3d one.
Gonna try some more times here, but thanks again, this has been pretty tough

[EDIT] nvm, managed to get it working!