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


All replies