question

Christian Brown avatar image
Christian Brown asked ·

Accessing Transmission component in a shader network

Is there a way to access Transmission component from a Standard Shader and pass it through to a ramp, etc.? I'm trying to create a transparent screen effect, where geometry behind a surface is visible through it but with a grid filter, but I can't figure out any way to use the transmission component on its own without it being in a Standard Surface, which can't be piped into a ramp.

transmission
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

No, standard surface returns a closure, not a color. And there's no way to convert the closure to an rgb value.

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Christian Brown avatar image
Christian Brown answered ·

And there's no way to take the output of a Standard Surface and pipe it into a ramp (or any other RGB input) correct? No conversion between a Shader and a Texture?

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

You can't get just the transmission contribution of a standard surface, unless you have a standard surface that does transmission only.

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Christian Brown avatar image
Christian Brown answered ·

I can use rayswitch to switch to another shader, but I can't use it to access the transmission component and pipe into a shader using it. Basically, I'm trying to run a halftone filter over everything that pass through the transparent object, so that there's no hard edges on the boundaries of objects viewed through it. Essentially treating the transmission component as a texture that I can pass into a shader network. I cannot find any way to do that.

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

You can't use rayswitch to do something different with the transmission rays that hit the object?

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Christian Brown avatar image
Christian Brown answered ·

Basically, trying to use the transmission component as an input to a ramp that generates a grid of circles whose size changes based on brightness (similar to a halftone effect) so that when you look through the transparent material, objects on the other side appear halftoned. Standard surface output cannot be piped into a ramp's input, so that's no go. Was hoping there was a utility I was missing that accesses the transmission component only.

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

You can use a rayswitch to do something different for transmission rays. You can't get just the transmission contribution of a standard surface, unless you have a standard surface that does transmission only.

Not sure what you mean by grid filter?

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.