Spellcaster Studios

Make it happen…

OpenGL decals

Still in the middle of a massive flu, which might explain the fact that I can’t get decals to work on OpenGL…

They almost work, but there’s something wrong somewhere, and I can’t figure out where!

screen445

They only display if I remove one of the box checks (the Y axis), so my guess is that somewhere a Y coordinate is not being correctly computed… It’s not the “screen to real world coordinate”, because I did a series of checks on that and it’s being correctly computed for sure…

So it must be one of the transforms (the primary box axis or the secondary ones, or the center maybe), but I don’t even know how to test that… Confused smile

Oh well, maybe tomorrow I’ll have a new pair of eyes… Open-mouthed smile

Now listening to “Youthanasia” by “Megadeth”

Comment