locked
DirectX: How to compile a shader to multiple images at once RRS feed

  • Question

  • Hey, I need some advice I need to know how to compile a shader ".fx, .hlsl" with a texture ".tga"  but there are 50 textures I want to apply the shader on all the textures at once upon compiling. kinda like a batch editor would upon adding the filter to all the images at once but we are talking about DirectX here tho is there any way of doing this that way I don't have to give the path of the textures one by one instead have it find all the textures and apply the shader to all of them upon compiling. with one path to the texture folder like this "B:/textures" or similar.


    • Edited by kingnoger1001 Thursday, June 21, 2018 4:39 PM edited it
    Thursday, June 21, 2018 4:36 PM

Answers

  • I'd ask for help over here.

    xboxforums.create.msdn.com/forums/76.aspx

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Thursday, June 21, 2018 4:50 PM

All replies