In this video, I show how to make a cracked stone texture using Affinity Photo's procedural texture filter. This video uses Perlin noise and Phong lighting. Try changing the smoothstep function to one of the other smoothstep functions for different cracked stone effects.
Download this texture on Patreon: https://www.patreon.com/posts/stone-p...
Functions used: var vec2 perlincubic udirsc smoothstep norm debump dot pow
Stone Texture
var v=vec2(rx,ry)*a/h; var t1=perlincubic(v+t*udirsc(b*v),10,s); var t2=smoothstep(e1-e2,e1,e1,e1+e2,perlincubic(v*c/10,10,s2)); (i1*t1+i2*t2)/2+of
Phong Lighting
var nm=norm(debump(R,G,B)); var dl=dot(nm,l); var sl=pow(dot(nm,norm(l+e)),sh); ia+id*dl+is*sl
Ryan King Art
• Procedural Clay Material (Blender Tutorial)
Procedural Textures Playlist:
• Procedural Textures with Affinity Photo
Procedural Texture Function Index
https://codeonpp.blogspot.com/2025/06...
Procedural Texture System Variables
https://codeonpp.blogspot.com/2025/08...
The Procedural Texture filter and related information can be found on Affinity Photo's website:
https://affinity.help/photo2/en-US.lp...
0:00 Introduction
1:07 Stone texture
11:48 Phong lighting
21:10 Gradient map
22:44 Conclusion