public override void Create() { instance = this; rendererPass = new ScreenSpacePlanarReflectionRenderer(this); rendererPass.renderPassEvent = RenderPassEvent.AfterRenderingTransparents; //必须等 _CameraOpaqueTexture 和 _CameraDepthTexture 有内容了 }
public ScreenSpacePlanarReflectionRenderer(ScreenSpacePlanarReflectionFeature _settings) { settings = _settings; cs = _settings.computeShader; }