PDA

View Full Version : Do big Quads slow down ?



uwi2k2
02-09-2012, 06:56 AM
Hi all,

in my game i just added some walls as quite big quads 800x400.
at it seems that at some points in my world now thw rendering slows dramaticly down when am looking at at wall with a object beween camara nad the wall...
are smaller faces are easyer to calculate for opengl ?

thanx a lot
uwi

BionicBytes
02-09-2012, 10:02 AM
The scaling of the 4 vertex points makes no difference to OpenGL.
Your slow down could be down to a fill rate limit on your graphics chipset. It sounds likely that per pixel fragment shading is slow and with such large surfaces to fill it seems to take quite some GPU time to complete.

mhagain
02-09-2012, 12:21 PM
With another object between the camera and the wall you are also getting some overdraw. This may or may not be a big deal, but it can be alleviated by rendering objects from front to back and enabling backface culling.