What is Value Noise?

  Рет қаралды 3,892

Suboptimal Engineer

Suboptimal Engineer

Күн бұрын

In this GLSL shader tutorial, we will go over the basics of value noise. We start by setting up a GLSL shader in VS Code. Then we create a white noise function and add a grid layer on top of it. After that, we find the edges of the grid and perform bilinear interpolation to generate a primitive version of value noise. Finally, we smooth out the noise by running the grid UV coordinates through a smoothstep function.
📖 Code - github.com/SuboptimalEng/shad...
🐦 Twitter - / suboptimaleng
💻 GitHub - github.com/SuboptimalEng
🌎 Website - suboptimaleng.com
== [ Resources ] ==
The Art of Code’s Tutorial - • Value Noise Explained!
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 - • How to Write GLSL Shad...
== [ Timestamps ] ==
00:00 Intro to Noise
00:41 Value Noise Algorithm
01:17 GLSL Shader Setup
01:58 White Noise Function
02:49 Overlay Grid Cells
04:03 Bilinear Interpolation
05:38 Smoothstep Grid UVs
06:17 Add Layered Noise
== [ Tags ] ==
#suboptimal #glsl #shaders

Пікірлер: 12
@carljosephyounger
@carljosephyounger Ай бұрын
The `whiteNoise2x1` function uses this line to initialize the `random` variable: float random = dot(p, vec2(12., 78.)); This will generate obvious patterns at higher resolutions. Using the more precise values (from the comment) fixes the issue: float random = dot(p, vec2(12.9898, 78.233)); All good.
@SilverstringsMusings
@SilverstringsMusings Жыл бұрын
I appreciate your clear explanations of shader code. Also algorithm etc.
@shayan-gg
@shayan-gg Жыл бұрын
thanks for making this tutorial, learned a lot
@jetweilee1645
@jetweilee1645 7 ай бұрын
great tutorial! thank you for sharing~
@mohsenzare2511
@mohsenzare2511 11 ай бұрын
Your videos are so helpful, please make more of them
@SuboptimalEng
@SuboptimalEng 11 ай бұрын
Learning Unity right now but I do plan to make videos about shaders in the future!
@rikinmarfatia
@rikinmarfatia Жыл бұрын
This is awesome! What resources are you using to learn about Shaders?
@SuboptimalEng
@SuboptimalEng Жыл бұрын
Thanks Rikin! I’ve linked the resources in the description of the video. Inigo Quilez, Art of Code, and Simon Dev all provide great tutorials.
@mohsenzare2511
@mohsenzare2511 11 ай бұрын
specially videos about shaders
@hazzardmaddison4971
@hazzardmaddison4971 8 ай бұрын
Wanted to say thanks for making these videos! Everything I have found so far either told me which libraries to use and didn't explain how it worked or was so heavy in math jargon I'm not currently able to understand. I know your channel will grow but as it is still relatively small I made sure to like subscribe and comment🫡
@SuboptimalEng
@SuboptimalEng 8 ай бұрын
Really appreciate the support, and I’m glad my teaching style helps you learn the concepts effectively! I’m currently learning WebGPU with TypeScript right so might make videos on that next, but I definitely plan to make more shader tutorials after that 😇
@hazzardmaddison4971
@hazzardmaddison4971 6 ай бұрын
I hope you do make the video bc I just got into typescript with nextjs coming from years of php websites. just turned on notifications so i'll be sure to get it if you do @@SuboptimalEng
What is Voronoi Noise?
6:38
Suboptimal Engineer
Рет қаралды 7 М.
What is Perlin Noise?
7:49
Suboptimal Engineer
Рет қаралды 11 М.
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 53 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 47 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 24 МЛН
What is WebGPU?
14:09
Suboptimal Engineer
Рет қаралды 59 М.
Value Noise Explained!
16:21
The Art of Code
Рет қаралды 33 М.
I.7 : What is OpenSimplex Noise?
17:46
The Coding Train
Рет қаралды 108 М.
Introduction to Phong Lighting
9:44
Suboptimal Engineer
Рет қаралды 13 М.
An In-Depth look at Lerp, Smoothstep, and Shaping Functions
8:39
The Art of Procedural Noise #SoME3
32:03
Vojtěch Pröschl
Рет қаралды 46 М.
C++: Perlin Noise Tutorial
8:52
Zipped
Рет қаралды 10 М.
Better Mountain Generators That Aren't Perlin Noise or Erosion
18:09
Josh's Channel
Рет қаралды 315 М.
I.5: Perlin Noise - The Nature of Code
13:44
The Coding Train
Рет қаралды 185 М.
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 7 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,6 МЛН
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,1 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 344 М.
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 6 МЛН