Right now for my engine, I rely on pixel and vertex shader script text files that I load and compile when I need them.
What I am wondering is, how can I store the shader scripts so that they are not visible to the user?
Maybe I could hard code them inside the executable, then dump them to .ps and .vs files, compile them, and then delete those files?
Or I could place them in binary files along, say, level or model data, and then generated/compiled in that same way?
Or would I pack them as text files inside a proprietary compressed file format with all the other resources, that is uncompressed and loaded as needed?
I'd like to avoid storing them in a way that's hackable or easy to reverse engineer.