Jump to content


Advanced use of Textures


  • You cannot reply to this topic
No replies to this topic

#1 Prey

    New Member

  • Members
  • Pip
  • 4 posts

Posted 30 July 2007 - 05:12 PM

Hi,
Was wondering if anyone could point me in the right direction for rendering bump, cube and detail maps using the fixed-function pipeline. Or if thats not possible, with HLSL.

Also I was wondering about something: As I have created my own VertexDeclaration that can support up to 4 textures at once, do I have to manually set what textures use what coordinates, with

Dev.TextureStates[0].TextureCoordinates = 0;

..? That code was just off the top of my head by the way, but I think that's right. Anyway I'm using the DirectX API with C#. (But if you know the answer in VB or C++ then thats fine too, I can convert)

Thanks for anything.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users