I love shaders so far, it’s crazy how they can make a lot of things look nicer when properly done.
First trying to add some global lighting to see the model voxel (adding shadow to see the cubes)
Then trying to correct lighting (green is more green)
And finally adding smooth lights (before/after)
I still can’t exactly do what I want to do but it sure looks promising.
And everything still runs @30 fps on my Galaxy S3, not sure it will work with more models, but it will definitely work on PC.
If you are interested in Libgdx + shaders you should take a look at these videos I found on youtube : GLSL – OpenGL Shaders (LibGDX)
They are a perfect introduction, easy, well explained, very good
I’d like to try to outline borders now to see what it would look like (not sure it will render good with voxel models), I think I’ll need to render the view in two passes (depth buffer and true rendering), more experiments incoming.