A Procedural Polka Dot Shader with Analytic Normals
This tutorial uses Blender
Support us on Patreon:
00:00 Intro
00:55 Set up the shader
01:35 Implicit sphere equation
04:30 Center UV space
05:30 Implementation
07:15 Create 3D vectors
08:20 Convert to tangent space
10:10 Fix normals outside of sphere
12:35 Evaluate normal map
13:00 Tiling
14:55 Offsetting odd rows
The finished shader
Today we’ll build a procedural shader that produces a polka dot pattern. While this is quite informative, as we learn how to tile the uv space, the interesting part is creating the normal map. We want to use the implicit sphere equation to derive z coordinates for the uv vectors to create sphericals normals. Transforming these to tangent space gives a beautiful and correct spherical normal map.
Download the Shader file:
64 views
0
0
5 months ago 01:23:04 1
LES CAPSULES JURIDIQUES DE MAÎTRE X - #211 (Avec Me Maud MARIAN - 26/6/2024)
5 months ago 00:59:25 1
22 juin 2024
5 months ago 00:03:57 1
“Ras-le-bol de ces #JO2024 de la Honte! “ Enorme coup de gueule de Nicolas Vidal
5 months ago 02:03:58 1
AFFAIRE TROGNEUX : NATACHA REY ET AMANDINE ROY CONTRE BRIGITTE MACRON | Me DANGLEHANT | GPTV
5 months ago 00:02:35 1
Зачем нужна коррекция татуажа?
5 months ago 00:02:04 1
Что такое татуаж?
5 months ago 00:06:44 29
PMDG 777 Parking Brake(s) - How To Use Them! Tutorial with a Real Pilot
5 months ago 00:00:10 1
Helldivers 2: Now THATS How You DESTROY a BUG HOLE!
5 months ago 00:08:24 1
Head Transplant Machine – BrainBridge
5 months ago 00:02:21 1
B737 MAX8 Flows and Checklist | COCKPIT VIEW
5 months ago 01:53:36 1
Affaire Trogneux : Le procès sous contrôle médiatique
5 months ago 00:23:23 1
Israel’s Cyber Security: The Invisible War | FULL EPISODE | Insights on TBN Israel
5 months ago 00:11:11 1
DON’T Install WINDOWS Without Watching This FIRST!