Hello,
I try to use some shadercode on concave levelgeometry. But somehow it doesn't work propely. I use a slightly modified code from the contestwinning shadertutorial. The code I made works perfectly with convex blocks (well with a bad performance and some ugly looking parts but it DOES work).
Well here is a screenshot from a level without shader:

here I just tried to render the textures on the geometry:
you see, the textures are shows wrong
and here I rendered only the lightmap, which works fine, doesnt it.

my question is, how are the textures on concave geometry to be treated in general in order to produce a correct looking rendering? I used wrap in the sampler.
I also tried to use flatshaded concave geometry but with the same results.