Octane Gradient & OSL Gradient Issues
Posted: Tue Oct 27, 2020 5:26 pm
Hello,
I'm trying to create radial gradient that does not repeat as it does with a SawWave texture. Also, the SawWave is huge so I have to scale it down a lot to fit my object in real world scale. Here is a screenshot of the Octane Gradient set to Radial: This is what I'd like to achieve (this was using the C4D gradient, which I'd rather not use for performance reasons): I searched the forum about gradients and discovered that there is a C4D-esque shader in the OSL shaders. When I tried it, I got an error - I think the code may be broken.
I couldn't find any documentation on how to use it (or the other OSL shaders). I am getting this result:
Can anyone help me to achieve this radial gradient with either the Octane Gradient or OSL shader, please? Thank you!
I'm trying to create radial gradient that does not repeat as it does with a SawWave texture. Also, the SawWave is huge so I have to scale it down a lot to fit my object in real world scale. Here is a screenshot of the Octane Gradient set to Radial: This is what I'd like to achieve (this was using the C4D gradient, which I'd rather not use for performance reasons): I searched the forum about gradients and discovered that there is a C4D-esque shader in the OSL shaders. When I tried it, I got an error - I think the code may be broken.
Code: Select all
<node 'Osl Texture'>: warning: Input parameter 'r' is not used