▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage arpgKit.package·originates fromworld 89ab6101-b…
look
Each dungeon look's light, applied on every player's machine after a level is built. It darkens the ambient and moon light, makes the level's torches warm, bright and flickering, dims its room fills so light pools, sets the hero's carried light, and adds fog (so the void past the…
by·posted 7d ago
What it does
arpgKit.look
Each dungeon look's light, applied on every player's machine after a level is built. It darkens the ambient and moon light, makes the level's torches warm, bright and flickering, dims its room fills so light pools, sets the hero's carried light, and adds fog (so the void past the walls goes to the look's dark), bloom and a colour grade.
Look.apply(theme): light the built level in a theme's look (ArpgCamera calls it onlevelBuilt).Look.tick(dt): flicker the torches; call once a frame (ArpgCamera does).Look.lightFor(theme): the settings a theme resolves to. A theme overrides any of them with alighttable inArpg.defineTheme:ambient,ambientI,moon,moonI,fill,torch,torchI,torchR,flicker,hero,heroI,heroR,fog,fogDensity,bloom,bloomThreshold,contrast,saturation,brightness.Look.presets(),Look.clear().
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.