Xbox LIVE Indie Games
Sort Discussions: Previous Discussion Next Discussion
Page 1 of 1 (1 posts)

DirectX: How to compile a shader to multiple images at once

Last post 6/21/2018 5:14 PM by kingnoger1001. 0 replies.
  • 6/21/2018 5:14 PM

    DirectX: How to compile a shader to multiple images at once

    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.
Page 1 of 1 (1 posts) Previous Discussion Next Discussion