ad shader base class