Create Seamless PBR Material Textures with PixaFlux

Опубликовано: 17 Сентябрь 2020
на канале: PixaFlux
1,243
45

This PixaFlux video tutorial shows how to use the
Image Random Tiles and Material Random Tiles nodes.


Download the images from the tutorial page:
http://pixaflux.com/Doc1/Tutorial_Ran...



In this PixaFlux video tutorial you'll learn to use the new Random Tiles engine.
The Random Tiles engine takes as input a set of images, and distributes them in a seamless tileable random pattern.
The Random Tiles engine is used by two nodes, Random Tiles, which generates a single image.
And Material Random Tiles, which takes a material and a height image as input and generates a material set with height blending and distribution.
For this tutorial we'll use this set of autumn leafs downloaded from cgbookcase.com and assembled as sprites PixaFlux.
You can download these images from the link provided in the description.
Drag and drop the autum leafs 4x4 albed o image.
Add a Random Tiles node.
The Random Tiles node takes as input an image with the tile sprites and distributes them in a seamless way on the output image.
Set the number of input tiles to 4 by 4.
There are two distibution algorithms, grid, which places the tiles in a rectangular grid pattern.
And poisson, which distributes the tiles in a random pattern that guarantees that no two tiles are closer than a defined radius.
The iterations attribute controls how hard it tries to find a new position, packing more tiles.
Notice how the size of the tiles is proportional to the distribution.
The scale attribute scales the tiles from the size given by the distribution.
The Random attributes randomize the individual tiles.
Mask randomizes the visibility.
Rotation Scale Translation Flip randomize the transform of the tiles.
And Hue Saturation Value Randomize the colors of the tiles.
The seed spinner seeds all random attributes and generates a new image.
I'll duplicate this node and increase it size to show you how the engine allows you to work on a low resolution image.
And, as long as the aspect ratio is mantained, increase the size without lossing the current tiles distribution.
Now let's use the Material Random Tiles node to show how height affects the output.
Add a Material Reader node and populate it with the albedo, normal, roughness and height images.
Set metalness to 0.0.
Set Height to 0.2
Add a Material Random Tiles node and set the input number of tiles to 4 by 4.
Let's make this a poisson distribution.
Add a Material Split node to review the material images.
The Material Random Tiles node uses the alpha channel of the first RGBA image to control the opacity of all images.
The height of the tiles is used to blend the images.
We can see some leaves intersecting with others.
The tile baker organizes the tiles in a stack to avoid intersections.
And the stack attribute moves them up or down.
Notice how as the tiles move up on the stack we see fewer intersections.
The Material Random Tiles node can take a Height image as input to simulate the ground where the tiles are laying on.
Add a Perlin Noise node and check auto level.
Connect it as the height input.
Lets review the height of the material with different perlin seeds.
The deform attribute deforms the tiles to conform them to the ground.
Deform and stack can be combined to avoid intersections.

PixaFlux is a free parametric image editing application powered by a node graph engine.
http://www.pixaflux.com


Смотрите видео Create Seamless PBR Material Textures with PixaFlux онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь PixaFlux 17 Сентябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,243 раз и оно понравилось 45 людям.