Hello
im producing a yacht animation in Octane.
I have 2 make 2 setup: daylight and night
The problem is that many furniture's materials in the night setup became backlighted or luminous and i was wondering if there is a sort of material
switch so that I can assign 2 different Octane material to the same object and activate them when i need rather than having a copy of the objects with different materials.
In lw material node I did this in the past, associating a null position to a switch material but I don't know if it is possible to be done in Octane.
Many thanks
material switch
Moderator: juanjgon
Hi,
One solution can be used the material mixer to configure the two materials and use the Float Texture node to control the material to be used. To switch all the materials in the scene using only one control object, you can use the "E" envelope feature of the Float Texture node, adding an expression to the graph editor as you can see in the attached image.
In the example, the expression is [controlObject.Position.X, 1], so you can control the material to be used moving the "controlObject" null to 0.0 in X to use one material and to 1.0 to use the other material.
Hope this helps,
-Juanjo
One solution can be used the material mixer to configure the two materials and use the Float Texture node to control the material to be used. To switch all the materials in the scene using only one control object, you can use the "E" envelope feature of the Float Texture node, adding an expression to the graph editor as you can see in the attached image.
In the example, the expression is [controlObject.Position.X, 1], so you can control the material to be used moving the "controlObject" null to 0.0 in X to use one material and to 1.0 to use the other material.
Hope this helps,
-Juanjo
Thanks Juanio!
It's similar to the technic I used in LW!
Great
It's similar to the technic I used in LW!
Great