morganbengtsson / mos

Lightweight game engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sort lights when rendering environments

morganbengtsson opened this issue · comments

Only the first light is rendered in to environment lights. Make sure at least the closest one is rendererd.