Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

Assigning Volume shader at render time

$
0
0

I'm trying to modify the 'Standard Example' scripted 3Delight render script to tell 3delight to use the Volume shader from the camera.

When rendering with the standard (not scripted) 3Delight rendering, the volume shader takes effect. In the 'Standard Example' render script it does not. The camera is created via Shader mixer, its Root is a Volume brick.

I suspect the call that is required is Renderer.riAtmosphere(), but I'm unclear what to pass for the parameters. Confusingly, the Camera variable does not have a getShader() method either, which leads me to believe at runtime it is not a dzShaderCamera as I would expect.

Any hints?


Viewing all articles
Browse latest Browse all 1036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>