added notes

This commit is contained in:
Jakob 2022-09-14 21:13:54 +02:00
parent 22d0ace43a
commit 4d64d911fb
2 changed files with 55 additions and 47 deletions

View File

@ -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

View File

@ -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`