Brick texture use in materials for boards

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
bojan.bekic
Posts: 3
Joined: Thu Oct 15, 2020 2:28 pm

Brick texture use in materials for boards

Post by bojan.bekic » Thu Oct 15, 2020 3:00 pm

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!

User avatar
B.Y.O.B.
Developer
Posts: 3872
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Brick texture use in materials for boards

Post by B.Y.O.B. » Thu Oct 15, 2020 4:03 pm

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.
Attachments
Capture.PNG
example.blend
(1.12 MiB) Downloaded 19 times

User avatar
B.Y.O.B.
Developer
Posts: 3872
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Brick texture use in materials for boards

Post by B.Y.O.B. » Fri Oct 16, 2020 11:10 am

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.

bojan.bekic
Posts: 3
Joined: Thu Oct 15, 2020 2:28 pm

Re: Brick texture use in materials for boards

Post by bojan.bekic » Fri Oct 16, 2020 2:42 pm

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.
Decking mat lux nodes.jpeg
Decking mat lux prev.jpeg
Luxcore boards.blend
(4.98 MiB) Downloaded 22 times
Maybe someone else finds it useful.

User avatar
B.Y.O.B.
Developer
Posts: 3872
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Brick texture use in materials for boards

Post by B.Y.O.B. » Fri Oct 16, 2020 3:12 pm

Nice result!

bojan.bekic
Posts: 3
Joined: Thu Oct 15, 2020 2:28 pm

Re: Brick texture use in materials for boards

Post by bojan.bekic » 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
(2.74 MiB) Downloaded 17 times

User avatar
FarbigeWelt
Donor
Posts: 1006
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Brick texture use in materials for boards

Post by FarbigeWelt » Sun Oct 18, 2020 3:08 pm

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.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
Windows 10 Pro 64 || 2x16 Cores, AMD Ryzen 3950X @3.5GHz, 64 GB RAM, DDR4 @3.2 GHz
2x openCL, AMD Radeon RX 5700 XT, 8 GB VRAM || Gfp = SFFT Gflops

Post Reply