hi thanks for the suggestion. But turns out it was forward shading that caused it. once i disabled it everything was fine