What is Perlin Noise?

  Рет қаралды 11,923

Suboptimal Engineer

Suboptimal Engineer

Күн бұрын

In this GLSL shader tutorial, we will go over Perlin noise. We start by setting up a GLSL shader in VS Code. Then we create a grid of cells and generate random gradients at the corner of each grid cell. Afterward, we generate a vector for each pixel coordinate and calculate the dot product to generate Perlin noise. Finally, we learn about Perlin noise variants like billow noise and ridged noise.
📖 Code - github.com/SuboptimalEng/shad...
🐦 Twitter - / suboptimaleng
💻 GitHub - github.com/SuboptimalEng
🌎 Website - suboptimaleng.com
== [ Resources ] ==
Inigo Quilez’s Articles - iquilezles.org/articles
The Book of Shaders - thebookofshaders.com
Simon Dev’s Shader Course - simondev.teachable.com
VS Code GLSL Shader Setup Guide - kzfaq.info/get/bejne/bbumo7eFqquVeKc.html
Sebastian Lagues’ Procedural Planets - kzfaq.info/get/bejne/fpqXYLd0xMXHpps.html
== [ Timestamps ] ==
00:00 Intro to Perlin Noise
00:41 Perlin Noise Algorithm
01:34 GLSL Shader Setup
02:42 Create Random Gradients
04:30 Find Distance to Pixel
05:15 Calculate Dot Product
06:50 Billow and Ridged Noise
== [ Tags ] ==
#suboptimal #glsl #shaders

Пікірлер: 15
@Ruan-yd6fs
@Ruan-yd6fs 3 ай бұрын
Thanks for making this video. I was struggling with understanding how Perlin noise works, but your video showed it with depth and simplicity.
@SuboptimalEng
@SuboptimalEng 3 ай бұрын
Thanks, I’m glad the video was helpful!
@OskarKassander
@OskarKassander Жыл бұрын
Great video and explanation once again!
@gehtsiegarnixan
@gehtsiegarnixan 5 ай бұрын
very well explained and visalized thank you!
@orbutbul908
@orbutbul908 Жыл бұрын
Amazing video! I was waiting for this one
@polandsilver3419
@polandsilver3419 Ай бұрын
Thank you for this explanation! I'm new into programing (although I programmed in scratch when I was really young). That's realy good piece of knowledge :)
@SuboptimalEng
@SuboptimalEng 19 күн бұрын
Good luck on your programming journey!
@tortue5080
@tortue5080 Жыл бұрын
nice thanks
@tanloclai5111
@tanloclai5111 5 ай бұрын
thank you very very much...........
@metactal
@metactal 3 ай бұрын
it bothers me that the font on the thumbnail and start of video are different
@tatrix
@tatrix 9 күн бұрын
Great video! Why smoothstep/quintic fixes grid like pattern?
@SuboptimalEng
@SuboptimalEng 9 күн бұрын
Hard to explain the math in a comment. I’d recommend trying out the shader and seeing why it works.
@iamtufa
@iamtufa 8 ай бұрын
i didnt understand how u got the distance
@SuboptimalEng
@SuboptimalEng 7 ай бұрын
Code is open source on my GitHub so hopefully you can learn it from there!
@user-ww1ek6dk5p
@user-ww1ek6dk5p Ай бұрын
​@@SuboptimalEng I think its actually wrong because the distance in your video is uv-direction, which its not the distance to the corer. However, It should be uv-cornor_pos instead
Fractional Brownian Motion, Domain Warping, and Calculating Normals
5:57
Suboptimal Engineer
Рет қаралды 4,9 М.
What is WebGPU?
14:09
Suboptimal Engineer
Рет қаралды 59 М.
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 15 МЛН
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 8 МЛН
Introduction to Phong Lighting
9:44
Suboptimal Engineer
Рет қаралды 13 М.
How to turn a few Numbers into Worlds (Fractal Perlin Noise)
15:24
The Taylor Series
Рет қаралды 186 М.
I.7 : What is OpenSimplex Noise?
17:46
The Coding Train
Рет қаралды 108 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 662 М.
Better Mountain Generators That Aren't Perlin Noise or Erosion
18:09
Josh's Channel
Рет қаралды 315 М.
C++: Perlin Noise Tutorial
8:52
Zipped
Рет қаралды 10 М.
[Explained] Perlin Noise and Unity
15:52
BearTheCoder
Рет қаралды 10 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 935 М.
The Basics of Perlin Noise | Roblox Studio Tutorial
27:05
Value Noise Explained!
16:21
The Art of Code
Рет қаралды 33 М.
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,8 МЛН