Diffusion Profile?? [SOLVED]

Node-based Shader Editor
Post Reply
dink
Posts: 11
Joined: Sun Jul 30, 2017 11:38 pm

Diffusion Profile?? [SOLVED]

Post 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
Last edited by dink on Thu Apr 04, 2019 2:50 pm, edited 1 time in total.
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Diffusion Profile??

Post 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
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
dink
Posts: 11
Joined: Sun Jul 30, 2017 11:38 pm

Re: Diffusion Profile??

Post by dink »

Thank you so much, Amplify_Borba! Very helpful. This solution works. :-)
Post Reply