Ive got a strange problem, when i use a directional light, some models i load have a rapid and intense change of light across the model surface as i rotate it. Even shperical type models. Its like parts of the model transition suddenly from light to dark and visa versa. This only happens on some models and not at all when i use positional lights
Wild guess: Those models have non uniform scale factors (or indeed, any scale factor) and you haven’t put a glEnable(GL_NORMALIZE) in your code. Normalization is very cheap on mostmodern hardware, but scaling (especially non uniform scaling) can cause other problems so in general it’s better to avoid it and keep your transforms rigid body. There are alwys exceptions of course.
i dont think so, the models are normalised when loaded and i am calling glEnable(GL_NORMALIZE). the problem dose not occur with a positionallight, but does with a directional light. It very strange