How to encrypt UE shader file (usf) ?

My plugin contains some shaders files (usf & ush), I want to encrypt or hide them. Who can help me ? Thanks for your any help!

There isn’t any even if there was it would be relatively trivial to intercept and get the decrypted version

1 Like

So how do we protect the shader algorithm ?

You shouldn’t need to what use case do you have to shield it? Even if you have a use case idk there’s anyway to do so as people can just intercept the API

1 Like

Are you mining crypto for yourself in someone else’s game? What can your shader possibly do that needs to be protected? :sweat_smile:

A good shader algorithm requires a lot of thinking, so it should not be displayed in plain text.

Similar to UE’s pak encryption, can it be used to encrypt usf?

has any solution there?