Hi ty for replying. I suspect that the culprit is that I include the shade-c header/stuff, cause it works in a non-shadec project. Though it seems that deactivating shade-c is not enough, its am not entirely sure but my quess is that shade-c scripts that I include change some stuff (light or fog related or such, or maybe something skill related).

What I find odd however is that when I comment stuff out in the chrome.fx file, the error line stays exactly the same (with the same line 47, 15). Maybe I am reading this wrong?