Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 786 Bytes

removeLight.markdown

File metadata and controls

26 lines (16 loc) · 786 Bytes

shader.removeLight()

 
Type function
Library shader.*
See also addLight()
Visual Guide Visual Guide

Overview

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().

Syntax

shader.removeLight()

Examples

local shader = require 'plugin.dynamic-shader'

shader.removeLight()