Made triangle renderer configurable