You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
thebookofshaders/glossary
..
GL_ES
abs
acos
all
any
asin
atan
attribute
bool
bvec2
bvec3
bvec4
ceil
clamp
const
cos
cross
dFdx
dFdy
degrees
distance
dot
equal
exp
exp2
faceforward
float
floor
fract
gl_FragColor
gl_FragCoord
gl_FrontFacing
gl_MaxCombinedTextureImageUnits
gl_MaxDrawBuffers
gl_MaxFragmentUniformVectors
gl_MaxTextureImageUnits
gl_MaxVaryingVectors
gl_MaxVertexAttribs
gl_MaxVertexTextureImageUnits
gl_PointCoord
gl_PointSize
gl_Position
greaterThan
greaterThanEqual
highp
in
inout
int
inversesqrt
ivec2
ivec3
ivec4
length
lessThan
lessThanEqual
log
log2
lowp
main
mat2
mat3
mat4
matrixCompMult
max
mediump
min
mix
mod
normalize
not
notEqual
out
pow
precision
radians
reflect
refract
return
sampler2D
samplerCube
sign
sin
smoothstep
sqrt
step
struct
tan
texture2D
textureCube
uniform
varying
vec2
vec3
vec4
void
README.md
index.php

README.md

Glossary

By theme

  • TYPES

void bool int float bvec2 bvec3 bvec4 ivec2 ivec3 ivec4 vec2 vec3 vec4 mat2 mat3 mat4 sampler2D samplerCube struct

  • QUALIFIERS

attribute const uniform varying precision highp mediump lowp in out inout

  • BUILT-IN VARIABLES

gl_Position gl_PointSize gl_PointCoord gl_FrontFacing gl_FragCoord gl_FragColor

  • BUILT-IN CONSTANTS

gl_MaxVertexAttribs gl_MaxVaryingVectors gl_MaxVertexTextureImageUnits gl_MaxCombinedTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformVectors gl_MaxDrawBuffers

  • ANGLE & TRIGONOMETRY FUNCTIONS

radians() degrees() sin() cos() tan() asin() acos() atan()

  • EXPONENTIAL FUNCTIONS

pow() exp() log() exp2() log2() sqrt() inversesqrt()

  • COMMON FUNCTIONS

abs() sign() floor() ceil() fract() mod() min() max() clamp() mix() step() smoothstep()

  • GEOMETRIC FUNCTIONS

length() distance() dot() cross() normalize() facefoward() reflect() refract()

  • MATRIX FUNCTIONS

matrixCompMult()

  • VECTOR RELATIONAL FUNCTIONS

lessThan() lessThanEqual() greaterThan() greaterThanEqual() equal() notEqual() any() all() not()

  • TEXTURE LOOKUP FUNCTIONS

texture2D() textureCube()

Alphabetical

  • A

abs() acos() all() any() asin() atan() attribute

  • B

bool bvec2 bvec3 bvec4

  • C

ceil() clamp() const cos() cross()

  • D

degrees() dFdx() dFdy() distance() dot()

  • E

equal() exp() exp2()

  • F

faceforward() float floor() fract()

  • G

greaterThan() greaterThanEqual() gl_FragColor gl_FragCoord gl_FrontFacing gl_PointCoord gl_PointSize gl_Position gl_MaxCombinedTextureImageUnits gl_MaxDrawBuffers gl_MaxFragmentUniformVectors gl_MaxVaryingVectors gl_MaxVertexAttribs gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits

  • H

highp

  • I

in inout int inversesqrt() ivec2 ivec3 ivec4

  • L

length() lessThan() lessThanEqual() log() log2() lowp

  • M

matrixCompMult() mat2 mat3 mat4 max() mediump min() mix() mod()

  • N

normalize() not() notEqual()

  • O

out

  • P

precision pow()

  • R

radians() reflect() refract()

  • S

sampler2D samplerCube sign() sin() smoothstep() sqrt() step() struct

  • T

tan() texture2D() textureCube()

  • U

uniform

  • V

varying vec2 vec3 vec4 void