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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is message passing between lights and surface shaders possible in Pixie?
If so, can anyone give an example?
Thanks
Andrew
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
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