Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for DX10 tutor7 Texture question in microsoft.public.win32.programmer.directx.graphics
Author: Anton Roth
Date: Sep 19, 2008 01:53
...->DrawIndexed( 36, 0, 0 ); } and also i have question, if i follow your .fx file code and call the ... above. will it draw twice? both of non-textured and textured. I wonder. if you used my fx file and...it effectDiffuseVariable if it is a pointer to a 2D texture?), i'd call it just once outside the switch. Your DrawLight technique doesnt bother about the texture. Unneeded code.
|