added notes
This commit is contained in:
parent
22d0ace43a
commit
4d64d911fb
91
Notes.md
91
Notes.md
|
@ -17,55 +17,54 @@ run `glslViewer <filename.frag>`
|
|||
from [docs.gl](https://docs.gl/sl4/log)
|
||||
|
||||
- Trigonometry
|
||||
|
||||
acos
|
||||
acosh
|
||||
asin
|
||||
asinh
|
||||
atan
|
||||
atanh
|
||||
cos
|
||||
cosh
|
||||
degrees
|
||||
radians
|
||||
sin
|
||||
sinh
|
||||
tan
|
||||
tanh
|
||||
- acos
|
||||
- acosh
|
||||
- asin
|
||||
- asinh
|
||||
- atan
|
||||
- atanh
|
||||
- cos
|
||||
- cosh
|
||||
- degrees
|
||||
- radians
|
||||
- sin
|
||||
- sinh
|
||||
- tan
|
||||
- tanh
|
||||
|
||||
- Mathematics
|
||||
|
||||
abs
|
||||
ceil
|
||||
clamp
|
||||
dFdx
|
||||
dFdy
|
||||
exp
|
||||
exp2
|
||||
floor
|
||||
floor
|
||||
fma
|
||||
fract
|
||||
fwidth
|
||||
inversesqrt
|
||||
isinf
|
||||
isnan
|
||||
log
|
||||
log2
|
||||
max
|
||||
min
|
||||
mix
|
||||
mod
|
||||
modf
|
||||
noise
|
||||
pow
|
||||
round
|
||||
roundEven
|
||||
sign
|
||||
smoothstep
|
||||
sqrt
|
||||
step
|
||||
trunc
|
||||
- abs
|
||||
- ceil
|
||||
- clamp
|
||||
- dFdx
|
||||
- dFdy
|
||||
- exp
|
||||
- exp2
|
||||
- floor
|
||||
- floor
|
||||
- fma
|
||||
- fract
|
||||
- fwidth
|
||||
- inversesqrt
|
||||
- isinf
|
||||
- isnan
|
||||
- log
|
||||
- log2
|
||||
- max
|
||||
- min
|
||||
- mix
|
||||
- mod
|
||||
- modf
|
||||
- noise
|
||||
- pow
|
||||
- round
|
||||
- roundEven
|
||||
- sign
|
||||
- smoothstep
|
||||
- sqrt
|
||||
- step
|
||||
- trunc
|
||||
|
||||
### uniforms
|
||||
|
||||
|
|
11
README.md
11
README.md
|
@ -1,3 +1,12 @@
|
|||
# sheadernanigans
|
||||
|
||||
playing 'round with shaders
|
||||
playing 'round with shaders
|
||||
|
||||
## install
|
||||
|
||||
|
||||
1. get glslViewer
|
||||
`sudo add-apt-repository ppa:patriciogv/glslviewer-ppa && sudo apt-get update && sudo apt install glslviewer`
|
||||
else, if "no release file" error appears, remove the ppa: `sudo add-apt-repository --remove ppa:patriciogv/glslviewer-ppa` and install the latest release via `dpkg -i`
|
||||
2. run `glslViewer src/000-hello.frag`
|
||||
|
||||
|
|
Loading…
Reference in New Issue