Advanced Brick Texture using Affinity Photo's Procedural Texture Filter

Описание к видео Advanced Brick Texture using Affinity Photo's Procedural Texture Filter

In this video, I show how to make an advanced brick texture using Affinity Photo's procedural texture filter.

Bricks
var c1=vec3(r1,g1,b1); var c2=vec3(r2,g2,b2); var c3=vec3(r3,g3,b3); var sv=normalize(vec2(dy,dx)); var v0=sv*vec2(rx,ry)*a/w; var vf=v0+vec2(floor(v0.y)*i/2,0); var v=fraction(vf); var t1=smoothstep(e1*sv.x,e2*sv.x,1-e2*sv.x,1-e1*sv.x,v.x)*smoothstep(e1*sv.y,e2*sv.y,1-e2*sv.y,1-e1*sv.y,v.y); var t2=noisei(floor(vf)); lerp(c1,c2,vec3(t2,t2,t2))*t1+c3*(1-t1)

Brick Texture
var v=vec2(rx,ry)*a/w; perlin(v,11,s)*i

Brick Chips
var v=vec2(rx,ry)*a/w; 1-smoothstep(e,1,cellnoise2(v.x,v.y,1))*i+of

Mortar
var v=vec2(rx,ry)*a/w; oscsc(b*perlincubic(v,11,s))*i+of

Rectangular Grid
   • Rectangle Grid Using Affinity Photo's...  

Easy Normal Map
   • Easy Normal Map with Affinity Photo  

Phong Lighting
   • Phong Lighting with Affinity Photo's ...  

Portions of this video have been adapted from Ben Cloward's Brick Shader
   • Procedural Brick Pattern Shader - Adv...  
   • Procedural Brick Color Shader - Advan...  

Procedural Textures Playlist:

   • Procedural Textures with Affinity Photo  

The Procedural Texture filter and related information can be found on Affinity Photo's website:

https://affinity.help/photo/en-US.lpr...

0:00 Introduction
1:03 Setting up the rectangular coordinate system
5:49 Setting up the step and smoothstep functions to shape the rectangle edges
10:08 Adding color to the bricks and mortar
12:30 Generating random color bricks
19:02 Adding lighting effects for the surface texture
32:56 Adding a text layer with displacement effect
35:04 Conclusion

Комментарии

Информация по комментариям в разработке