Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
material_demo.pdf
Search
しんーーーご
May 18, 2019
Programming
27
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
material_demo.pdf
しんーーーご
May 18, 2019
Other Decks in Programming
See All in Programming
すこし踏み込む CancellationToken
htkym
2
1.7k
ChromeでローカルLLM
ryu1013
0
140
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
520
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.6k
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
420
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.2k
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
1k
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
1.1k
Skip the Path - Find Your Career Trail
mkilby
1
260
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Visualization
eitanlees
153
17k
The browser strikes back
jonoalderson
0
1.8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Design in an AI World
tapps
1
350
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
Transcript
フラグメントシェーダと数学
おしながき ・フラグメントシェーダとは ・波形 ・ランダム ・角度 ・まとめ
フラグメントシェーダを少し知る 伝えること
ピクセル単位のライティングや ポストプロセス(後処理)を 行なうための機能 別名)ピクセルシェーダー フラグメントシェーダとは
フラグメントシェーダ使うと できること フラグメントシェーダとは
None
None
None
これら全て数学を使って フラグメントシェーダで書かれている フラグメントシェーダとは
数学は大事 フラグメントシェーダとは
数学を完全に理解した ↓ フラグメントシェーダ 完全理解した フラグメントシェーダとは
1 波形 波形
sin(x),cos(x) 波形
範囲:-1 ~ +1 特徴:周期性 波形
こんな感じのができる
2 ランダム ランダム
ランダム 範囲: 0 ~ +1 特徴:バラバラ
random(x) ランダム というのがあるのかな?
random(x) ランダム ないので作るしかない
ランダム かんたん 3ステップで作るランダム
ランダム sin(x)を用意
ランダム 増幅させる
ランダム 1で割る余り
ランダム 増幅もっと強く
こんな感じのができる
3 角度 角度
atan2(y,x) 波形
範囲:-PI ~ +PI 特徴:ラジアン角 角度
こんな感じのができる
5 まとめ まとめ
これら全て組み合わせると 何ができるのか まとめ
None
数学をもっと知ると もっと幸せになれるはず まとめ
GLSLが書けるサイト http://glslsandbox.com https://www.shadertoy.com https://glslfan.com グラフが書けるサイト http://www.iquilezles.org/apps/graphtoy コードが詳しく載っているサイト https://thebookofshaders.com/ https://wgld.org/ 他のノイズを知りたい
http://nn-hokuson.hatenablog.com/entry/2017/0 1/27/195659 シェーダー芸人になれるリンク集 https://qiita.com/kaneta1992/items/7fe9b47cc6c 0836222af glslfan作った方 https://qiita.com/doxas リンク集
END ありがとうございました