No matching definitions.

glsl/stdlib

src/glsl/stdlib.tur
defn

phong-lighting

(phong-lighting :cstr)

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 :cstr)

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 :cstr)

return a GLSL function string for gamma correction.

Complete GLSL function definition string.

(gamma-correct)  ; returns the function source string

Since: v0.1.0