Shader Mixer Enum Value Question

Hi.

I want to add a fixed value to a shader (MDL), in my case Base Color Effect = Scatter Only. I think the correct brick to use would be the Enum Value. But how? In another shader I made, somehow the enum value automatically got the correct values. In the enum type field is this ::base::color_layer_mode. What would be the correct way to enum a value like Color Effect? I have searched for documentation but cant find any. Any help would be appreciated. :)

Comments

  • Oso3DOso3D Posts: 15,041
    edited October 2017

    Use a Enum Value Brick (under Functions/Utility) and connect it. It will populate with the values of whatever you connected it to.

     

    Post edited by Oso3D on
  • GreyManGreyMan Posts: 20

    Thanks so much for the reply.

Sign In or Register to comment.