View Full Version : Speckles

11-12-2010, 05:52 AM
Hi all,

I test my program on a machine other than my development system and I'm seeing speckles:

This happens with two-sided triangles and both with and without goraud shading.

I'm using floats for all coordinates rather than doubles.

Any clues as to what's happening?

11-15-2010, 04:54 AM
Hi folks,
As an experiment I switched my coordinates to all doubles for greater precision but I am still getting these speckles everywhere on my model's surface. As the user rotates the model the speckles twinkle like stars.
What could this be caused by?

11-15-2010, 05:01 AM
This may be caused by imprecision in depth, or T-junctions.

Can we have a wireframe view of the model ?
Do you render triangles twice ?
What is your depth func ?