message passing

Help
andrew lea
2004-10-27
2013-04-25
  • andrew lea
    andrew lea
    2004-10-27

    Is message passing between lights and surface shaders possible in Pixie?

    If so, can anyone give an example?

    Thanks

    Andrew

     
    • George Harker
      George Harker
      2004-10-27

      Hi Andrew,

      I don't think this is quite possible at the moment due to the fact that output variables from SL are not handled particularly differently from global names.  I had a conversation with Okan a while back about this.

      What is needed is that output parameters remain a formal shader parameter (which means they can be queried from another shader) and still are writable.  Perhaps we could relook at that?

      George

       
    • andrew lea
      andrew lea
      2004-11-13

      Hi George,

      Thanks for your response. This is a feature I would find most useful. Amongst other things I was trying to impliment a light affecting clouds within a shader.

      If it could be implimented I would be most grateful.

      Thanks

      Andrew