Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page contains information about the V-Ray TexUserScalar node.

 

Overview

...

Section
Column
width50%

The V-Ray User Float texture allows the user to read and return a single number value from the User-Defined properties of the currently shaded object as a result. This can be useful if the same material or texture is applied to several objects in the scene, but we want to control some of its aspects (i.e. material glossiness, or a blend between two other textures inside a Mix texture etc.) with User-Defined properties.

 

UI path: ||mat Network|| > V-Ray > Texture: Utility > V-Ray User Float

Column
width5%

 

Column
width45%

 

 

 

 

 

Parameters

...

Section
Column
width50%

Attribute – Specifies the name of the user attribute that is looked up and returned from this shading node.

Default Value  Specifies the value to return if the user attribute is not found on the shaded object.

Attribute Priority – Specifies the attribute priority of V-Ray User Float.

User Attribute
Map Channel

Column
width5%

 

Column
width45%

Image RemovedImage Added


Examples

...

In the examples below, user attributes are assigned to different objects with different values. A V-Ray User Float texture reads the values and passes them to a shader at render time. This way we can pass different shader values that are controlled at the object level, allowing us to share the shader between all objects.

...