Page 1 of 1

Diffusion Profile?? [SOLVED]

PostPosted: Wed Mar 27, 2019 1:01 am
by dink
Hey all!

I'm creating a Translucent material and I would like to take advantage of a Diffusion Profile I've created, but I'm unsure how to edit this value for the master GBuffer node in my shader.

The only lead I've found is a node in ASE called "Template Parameter," which allows me to change the Scope to "Sub Shader" and adjust the Parameter to "DiffusionProfile" - but this doesn't seem useful in anyway for the shader.

I'd like to be able to select a diffusion profile for the shader, just like in the standard HD Lit. Is there any way to do this?

Thank you!
Alex

Re: Diffusion Profile??

PostPosted: Mon Apr 01, 2019 3:47 pm
by Amplify_Borba
Hey there!

You'll need to access the Additional Options within the Output Node's parameters:

Image

Please note that you'll need to set a property of the Int type ( Shortcut Key: 0 ) to the Diffusion Profile port, rather than using the Template Parameter node, as it's not passing the correct data due to a bug.

Image

Re: Diffusion Profile??

PostPosted: Thu Apr 04, 2019 2:50 pm
by dink
Thank you so much, Amplify_Borba! Very helpful. This solution works. :-)