fix edit

lights fix, int texture ref