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 М.
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 53 МЛН
Самое Романтичное Видео ❤️
00:16
Глеб Рандалайнен
Рет қаралды 4,6 МЛН
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 5 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 14 МЛН
I.7 : What is OpenSimplex Noise?
17:46
The Coding Train
Рет қаралды 108 М.
How to turn a few Numbers into Worlds (Fractal Perlin Noise)
15:24
The Taylor Series
Рет қаралды 186 М.
Better Mountain Generators That Aren't Perlin Noise or Erosion
18:09
Josh's Channel
Рет қаралды 315 М.
C++: Perlin Noise Tutorial
8:52
Zipped
Рет қаралды 10 М.
Minecraft terrain generation in a nutshell
25:49
Henrik Kniberg
Рет қаралды 148 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 662 М.
The Basics of Perlin Noise | Roblox Studio Tutorial
27:05
Value Noise Explained!
16:21
The Art of Code
Рет қаралды 33 М.
An introduction to Raymarching
34:03
kishimisu
Рет қаралды 125 М.
Introduction to Phong Lighting
9:44
Suboptimal Engineer
Рет қаралды 13 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,3 МЛН
Опыт использования Мини ПК от TECNO
1:00
Андронет
Рет қаралды 702 М.