Norris's picture

Flickering artefacts - colored squares

Hi.
Recently, I reinstall my computer, and now, my very simple GLSL shader give me strange flickering artefacts with many small coloured squares . Those artefacts are only visible on geometries.

Windows 7 64bits, Nvidia (Asus) GTX 550 Ti

If I remove my shader binding and only use fixed pipeline, I have no artefacts at all.
It seems that coloured squares always have the same rectangular size (3 x 6 pixels)

What is the common cause of this kind of artefacts ? Could it be a problem with Uniforms settings ?
I changed nothing in my shaders and it was working before my computer reinstall.

Inline Images

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Robmaister's picture

Could you post the shader source code here? It would make finding the issue a LOT easier.

Norris's picture

Hi and thanks to help me Robmaister.
Unfortunately, I completely rewrote this shader by merging some tutorials and the bug go off. I'm not able to reproduce this behaviour, but it was something related to colours vectors sadly multiplicated or something like that.
I don't understand why this kind of error give us this kind of artefacts with rectangles patterns, but the next time I will see this,I'll know that it's related to shaders.