Indexed rendering

Signed-off-by: uckuth <uckuht8@mail.ru>