No matching definitions.

glsl/stdlib

src/glsl/stdlib.tur
defn

phong-lighting

(phong-lighting :)

return a GLSL function string implementing Phong shading.

Complete GLSL function definition string.

(phong-lighting)  ; returns the function source string

Since: v0.1.0

defn

fresnel

(fresnel :)

return a GLSL function string implementing the Schlick Fresnel approximation.

Complete GLSL function definition string.

(fresnel)  ; returns the function source string

Since: v0.1.0

defn

gamma-correct

(gamma-correct :)

return a GLSL function string for gamma correction.

Complete GLSL function definition string.

(gamma-correct)  ; returns the function source string

Since: v0.1.0

Internal definitions
__cons-- local 2-cell cons constructor (matches the runtime __tur_cons