bepeg4d wrote:i have tried to go a bit further but i get an error at line 29
inColor5Node:setAttribute(octane.A_VALUE, { 1 })
needs to be modified to inColor5Node:setAttribute(octane.A_VALUE, 1)
The node is of type NT_TEX_FLOAT which takes only 1 number (AT_FLOAT). See below for the full docmentation (copy/paste from API browser).
- Code: Select all
NT_TEX_FLOAT
• Output Type : PT_TEXTURE
• Category : Textures|Greyscale Color
• Default Name : Greyscale Color
• #Attributes : 1
• #Static Pins : 0
Attributes
A_VALUE
• Description : The value of the float texture node. Needs to be in the rage [0 .. 1].
• Type : AT_FLOAT
• Array : false
• Default Value : 0.700000
cheers,
Thomas