[0]RenderTexture 无法再image上显示

    this.modelCamera.clearFlag = Laya.CameraClearFlags.SolidColor;
          this.modelCamera.clearColor = new Laya.Vector4(0, 0, 0, 0);
          this.modelCamera.renderTarget = new Laya.RenderTexture(512, 512, Laya.RenderTextureFormat.R8G8B8A8, Laya.RenderTextureDepthFormat.DEPTHSTENCIL_24_8);
          this.modelCamera.renderingOrder = -1;
          this.modelCamera.farPlane = 100;
          this.modelCamera.nearPlane = 0.01;
 
 
this.m_image.source = new Laya.Texture(MapMgr.ins.cameraMgr.getModelCamera().renderTarget, Laya.Texture.DEF_UV);
已邀请:

Laya_z

赞同来自:

辛苦提供一个完整的laya项目,我们看一下问题

要回复问题请先

商务合作
商务合作