Page 1 of 1

Brick texture use in materials for boards

Posted: Thu Oct 15, 2020 3:00 pm
by bojan.bekic
Hi guys, I have a question.

Working on Archviz in Cycles, there's a super useful way to do semi procedural material for decking and similar stuff. It uses the brick texture to offset UV's of diffuse, roughness and bump maps, drive the color and roughness variations by color multiplying those maps, and of course, bump.
Material nodes
Material nodes
Material previews
Material previews
As I'm trying to move my work to Luxcore, at least for the interior scenes, and I use this kind of material a lot, I tried to replicate something like this within Luxcore material nodes, but as I'm new to it, they look less readable to me and I fail.
First of all, Luxcore brick tex is 3D, which is great for most uses, but It bugs me with this one.
Then, there's this thing with nodes and color / vector input types that look more strict here and so on...

Did someone mess with this kind of thing and would like to share a possible solution?

Thanks!

Re: Brick texture use in materials for boards

Posted: Thu Oct 15, 2020 4:03 pm
by B.Y.O.B.
In LuxCore, the 2D/3D mapping can't be textured.

However, in Lux v2.5, there's a new "Distort" texture that can be used to at least texture the "transform" part of a texture mapping (but not rotation or scale).

It can be found in Add Node > Utils > Distort.

Re: Brick texture use in materials for boards

Posted: Fri Oct 16, 2020 11:10 am
by B.Y.O.B.
By the way, about the brick texture being 3D, you can plug in a 3D mapping node and change the mapping type to "UV mapping 3D" to make it follow your surface UV maps.

Re: Brick texture use in materials for boards

Posted: Fri Oct 16, 2020 2:42 pm
by bojan.bekic
Thank you, that's exactly what I needed!

I managed to do a setup very similar to Cycles, and even a bit better in some respect, since the Luxcore's brick tex is more advanced then Cycles one.
The attachment Decking mat lux nodes.jpeg is no longer available
Decking mat lux nodes.jpeg
Decking mat lux prev.jpeg
Maybe someone else finds it useful.

Re: Brick texture use in materials for boards

Posted: Fri Oct 16, 2020 3:12 pm
by B.Y.O.B.
Nice result!

Re: Brick texture use in materials for boards

Posted: Fri Oct 16, 2020 6:43 pm
by bojan.bekic
Thanks!
There's also this old PBR trick that makes the material simpler and lighter:
Decking mat lux one map.jpeg
Luxcore boards.blend
(2.74 MiB) Downloaded 204 times

Re: Brick texture use in materials for boards

Posted: Sun Oct 18, 2020 3:08 pm
by FarbigeWelt
bojan.bekic wrote: Fri Oct 16, 2020 6:43 pm Thanks!
There's also this old PBR trick that makes the material simpler and lighter:

Decking mat lux one map.jpeg

Luxcore boards.blend
Great! I did not have the idea to use Texture Bricks for wooden house scene I made some longer time also. I have to memorize your way to use Bricks for wooden parquets or walls to.

Thanks a lot! And thanks for sharing.