Announcement

Collapse
No announcement yet.

Hiding GLSL shader source code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hiding GLSL shader source code

    Hi,
    I just did some tests with VRayGLSL and it looks awesome. I have one question though: is it possible to hide (maybe compile) source code of a shader if I cannot publish it as open source?

  • #2
    same question as above =D
    CGI - Freelancer - Available for work

    www.dariuszmakowski.com - come and look

    Comment


    • #3
      Hm, for the moment there is no direct way to do that, other than obfuscating the code with something like snob. The shader does get compiled to byte code, so we could just add the possibility to save and read that instead of the original text.

      Out of curiosity, what are you using it for?

      Best regards,
      Vlado
      I only act like I know everything, Rogers.

      Comment


      • #4
        For commercial shaders.

        Comment


        • #5
          Hehe, I could guess as much. For the moment you can also try obfuscating your code through a tool like snob or Stunnix, but I'm not sure how much this would hide.

          Best regards,
          Vlado
          I only act like I know everything, Rogers.

          Comment


          • #6
            I forgot to write this here, but this is already implemented in the latest nightly builds and will go into the next official update.

            Best regards,
            Vlado
            I only act like I know everything, Rogers.

            Comment

            Working...
            X