Isotropix Forums

Tile a gradient

General Discussion about Isotropix and CG related topics

Tile a gradient

Unread postby dane » Thu Oct 03, 2019 2:51 pm

Is it possible to use the gradient node and repeat it in uv space?

Say your doing corrugated metal, you'd make a ramp go black to white to black and then repeat 100x to make the effect. Is this possible?
Posts: 98
Joined: Wed Aug 29, 2018 11:50 am

Re: Tile a gradient

Unread postby dboude » Fri Oct 04, 2019 8:39 am

Hi Dane,

As the gradient hasn't any projection attribute this is not possible. You have to UV bake it on a square plane and use the result with a texture map file.

If you have to go back and forth when tweaking your gradient you can use the render to picture technique. In an isolated context create a simple render setup (image (with 3dlayer) + raytracer + camera) then add a polygrid with a matte material assigned to it. Plug your gradient in the matte and activate the UV baking in the layer attribute and add the polygrid to the UV bake geometry attribute. Make sure to have a square Image. You have now your texture. Go in the material editor and drag and drop the image into it. Clarisse will create a TextureMap in which you will able to set projection. With that, you have a live projected gradient to do your tweak. When done with the gradient setup just save the baked image on your drive. You can now remove the render to texture setup and import back the saved texture.

An example is better than a long speech, here we go :

(71.55 KiB) Downloaded 140 times

Cheers ;)
Technical Artist - Clarisse Specialist
User avatar
Posts: 1603
Joined: Mon Jul 03, 2017 10:51 am

Return to General Discussion