Jump to content
Posted 16 July 2012 - 02:12 AM
Posted 16 July 2012 - 02:22 AM
Ehhmm...no, I can't see anything. How about some screenshots about the two approaches ?
From what I wrote, do you see things that might be destroying my results?
Posted 16 July 2012 - 02:55 AM
Edited by Hodgman, 16 July 2012 - 07:00 PM.
Posted 16 July 2012 - 01:44 PM
Posted 16 July 2012 - 03:32 PM
Use a vertex declaration, much more flexible. As for FVF, it has a fixed (hidden) order. NORMAL has to come before DIFFUSE because that's the order that's hard-coded in FVF. Nothing fancy, just an arbitrary limitation.
Subject might be closed or deleted, useless problem...
But before, could someone explain me why in FVF format NORMAL has to be before DIFFUSE?
I found out that normal is saved in bgra format, but I was still missing one component, the Z, always equal to zero.
So I remember I had problems with fvf before I tried to replace fvf and vertex data and suddenly the lost val has appeared.
I can't believe it:P