light encodements