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)

Followers