OSL Mason 1.0 - Procedural bricks

I have been working on this for quite some time (on and off for about a month). It is a shader that generates bricks handling color, roughness, bump, glossiness and allowing for the bricks to have puddles. Here is a propaganda / showcase video:

[video]https://youtu.be/MNrb3VQU-3o[/video]

You can find the code here (MIT-lisenced, aka. do whatever you want to do with it) and the blend (CC-0) on blendwap here. It doubles as a material library, as it contains 30 presets:

What do you think?

Attachments


thanks, looks great

Wow, really nice. Sad that nobody use OSL because of it’s speed, I’m sure you would have gotten much more comments. But first version is already really good :slight_smile: Thank you for sharing.

This is amazing, thank you!

Should I try to port this over to nodes? (I have a very busy period at school right now so don’t expect miracles.)

Should I try to port this over to nodes? (I have a very busy period at school right now so don’t expect miracles.)