[Curiosity] Mandatory Vertex Attribute Alignment FVF

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
devsh
Competition winner
Posts: 2057
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK
Contact:

[Curiosity] Mandatory Vertex Attribute Alignment FVF

Post by devsh »

So you guys are most probably polishing your irrlicht 1.9 FVF pipeline, an I have some more glorious silent bugs and undocumented features of OpenGL

Each Vertex Attribute has to be aligned to its own type, a.k.a each first element of a vector of an attribute of any vertex needs to start at an offset which is a multiple of its own size

Sometimes it works fine, sometimes not... and when not its the alignment's fault

This is awesomely undocumented and you almost won't find it googling it!
Post Reply