Arbitrary output variables appear to be broken for volume shaders, attached is a simple test case to demonstrate. This will be necessary for mist and halo output for layered composite.
This bug should be fixed as of c0e54c4dfdebcbc1d5ba1fc25501ce24615a5c8d.
Arbitrary output variables were not copied from volume shaders onto output grids, and therefore not sampled during the sampling stage.
The fix makes sure that AOVs from volume shaders are accessible by looking for the AOV name on the atmosphere shader whenever it's not found in the surface shader associated with a surface. (As a consequence, if there are AOVs of the same name on both a surface and an atmosphere shader, the surface AOVs will take precendence.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2009-09-09
Working good for me, I'll work on finishing layer blending now... thanks :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This bug should be fixed as of c0e54c4dfdebcbc1d5ba1fc25501ce24615a5c8d.
Arbitrary output variables were not copied from volume shaders onto output grids, and therefore not sampled during the sampling stage.
The fix makes sure that AOVs from volume shaders are accessible by looking for the AOV name on the atmosphere shader whenever it's not found in the surface shader associated with a surface. (As a consequence, if there are AOVs of the same name on both a surface and an atmosphere shader, the surface AOVs will take precendence.)
Working good for me, I'll work on finishing layer blending now... thanks :)