Shader Park
References GLSL
References JS
Home
(opens new window)
Tutorials
(opens new window)
GitHub
(opens new window)
#
simpleLighting
float
simpleLighting
(
vec3
p
,
vec3
normal
,
vec3
lightDirection
)
;
#
Example
←
mix
specularLighting
→