I Get Your Fail

Epic failures in the game development field.

This blog covers funny/weird issues and bugs from games that happened during development.

Send your own contributions to igetyourfail at repi.se (can be anonymous if specified)

Monday, November 9, 2009

Why name variables when you can use padding?


if (data.lights[id]._padding[1] == NOSPECULAR)
{
...
}

(Thanks Tomasz)

Wednesday, October 28, 2009

PS3 Shadows Mark II - Style through acne


Friday, October 23, 2009

wrt burning, cute chickens in games are not supposed to



(Thanks Marco)

Thursday, October 22, 2009

Step 1: misalign UVs. Step 2: Kill it with fire!



(Thanks Simon)

Wednesday, October 21, 2009

High quality DOF with extra ringing and evil eye?



(Thanks Peter)

Saturday, October 3, 2009

functionality where being correctly

// emit a particle
// This should NOT be done here, it there should

(Thanks Pat)

Friday, August 28, 2009

Giving New Meaning to Destructors


LRUCacheModel::~LRUCacheModel()
{
for( LRUCacheEntry* entry; entry != NULL; )
{
LRUCacheEntry* next = entry->next;
delete entry;
entry = next;
}
}

(Thanks to Pat)

Monday, August 10, 2009

Forget normals, we have lovely hearts!

As in, who needs proper packing of normals into the g-buffer... when you can have those lovely heart shapes instead?



(Thanks Aras)

Tuesday, July 21, 2009

Black Hole Crossroads



(Thanks Assen)

Saturday, July 4, 2009

For those times when (int)(v + 0.5f) just isn't enough


inline int MyMath::floatToIntRounded(hkReal value)
{
const hkReal lowerWhole = floor(value);
const hkReal upperWhole = ceil(value);

if((value - lowerWhole) < (upperWhole - value))
{
return floatToInt(lowerWhole + MY_EPSILON);
}
else
{
return floatToInt(upperWhole + MY_EPSILON);
}
}


(Thanks Dan)

Friday, July 3, 2009

isNumber - Special optimized version


bool isNumber(const char number)
{
std::string tmp;

tmp += number;

return std::string::npos != findIgnoreCase("0123456789", tmp);
}

Saturday, May 30, 2009

I sure hope it'll grow into proper deferred shading some day



(Thanks Robert)

Do Colombians have cautiousness?



(Thanks ReJ)

Thursday, April 9, 2009

Beta graphics drivers at play



(Thanks Jonathan)

Monday, March 9, 2009

The Googly Eyed Trike


Googly Eyed Trike from Tom Spilman on Vimeo.

A happy accident while developing the simulation for the Be The Dinosaur traveling exhibit.

(Thanks Russell)

Blog Archive

Followers