Type | function |
Library | shader.* |
See also | addLight() |
Visual Guide | Visual Guide |
Removes the current light source for the Dynamic Shader. The light source is set to the default location (0, 0) until a new light source ia added to the Dynamic Shader via addLight().
shader.removeLight()
local shader = require 'plugin.dynamic-shader'
shader.removeLight()