Override on a Lens Shader Parameter... 2004-12-09 - By Aloys Baillet
Back Hello everyone, I have a Lens Shader that I want to make active or not depending on the current pass. The standard way to do that should be to put an override somewhere in the pass and to add in it the "enable" parameter of the lens shader. Unfortunately, there is no way to put a camera in a partition, and the only place where I could put an override that depends on the current pass WAS a partition. So the only solution we found was to take a renderable object, put it in a partition, add an override on the partition, create a custom pset on the object, add a boolean parameter and link this param to the overide. Then to do the trick we had to link (with an expression) the value of the pset param to the shader enabling param. That's not straightforward!! So my question is : do anyone know an easier way to activate/deactivate a lens shader according to the current pass? Thank you to have read this till the end ;) -- Aloys Baillet - R&D @ La Maison - www.alamaison.fr --- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|