Esempio n. 1
0
        public CGfxRP_OffScreen()
        {
            var RHICtx = EngineNS.CEngine.Instance.RenderContext;

            mSSM = new CGfxSSM();

            //post effect;
            mBloomMobile    = new CGfxMobileBloom(RHICtx);
            mSunShaftMobile = new CGfxSunShaftMobile(RHICtx);
            mMobileAO       = new CGfxMobileAO(RHICtx);
        }
        public CGfxRP_EditorMobile()
        {
            var RHICtx = EngineNS.CEngine.Instance.RenderContext;

            //shadow ssm;
            mCSM = new CGfxCSMMobileEditor();

            //hitproxy;
            mHitProxy = new CGfxHitProxy();

            //picked effect for editor to use;
            mPickedEffect = new CGfxPickedEffect();

            //post effect;
            mBloomMobile    = new CGfxMobileBloom(RHICtx);
            mSunShaftMobile = new CGfxSunShaftMobile(RHICtx);
            mMobileAO       = new CGfxMobileAO(RHICtx);
        }