Advertisement Jump to content
Sign in to follow this  
proanim

vital exe resources

This topic is 1830 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am looking for a way to load shaders for exe when using directx, but now since I directx has its own functions for loading this stuff i don't think putting them in exe as resource files will work. I want this so I can distribute my program as stand-alone application without need of installation. Is there a way to do this? or am I required to give this stuff with the exe?

Share this post


Link to post
Share on other sites
Advertisement

I am looking for a way to load shaders for exe when using directx, but now since I directx has its own functions for loading this stuff i don't think putting them in exe as resource files will work. I want this so I can distribute my program as stand-alone application without need of installation. Is there a way to do this? or am I required to give this stuff with the exe?

 

What do you think won't work with this?  You just need to distribute the _compiled_ shaders (created with fxc) instead of raw sources.

Share this post


Link to post
Share on other sites

 

I am looking for a way to load shaders for exe when using directx, but now since I directx has its own functions for loading this stuff i don't think putting them in exe as resource files will work. I want this so I can distribute my program as stand-alone application without need of installation. Is there a way to do this? or am I required to give this stuff with the exe?

 

What do you think won't work with this?  You just need to distribute the _compiled_ shaders (created with fxc) instead of raw sources.

 

 

There's no problem with embedding raw shader source code as resources too, though you might prefer not to because of longer loading times (or obfuscation).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!