photonGI = new cache\PhotonGI(); echo $path; //设置打印 采样器 配置参数 $sampler = new Sampler(); echo $sampler; //设置打印 灯光策略 配置参数 $lightStrategy = new cache\LightStrategy(); echo $lightStrategy; //设置打印 文件储存格式 配置参数 $filesaver = new FileSaver(); echo $filesaver; //设置打印 渲染终止 配置参数 $batch = new Batch(); $batch->useNoiseThreshold(); echo $batch; //设置打印 场景属性 配置参数 $scene = new Scene(); echo $scene; //设置打印 “胶片” 配置参数 $film = new Film(); $film->outputs[] = new file\ImageSaverBase(['type' => file\ImageSaverBase::TYPE_RGBA ]); $film->outputs[] = new file\ImageSaverBase(['type' => file\ImageSaverBase::TYPE_MATERIAL_ID ]); $film->outputs[] = new file\ImageSaverNumber(['index' => 2 ]); $film->imagepipelines['002'] = [new effect\NoiseReducerOIDN(),new effect\Pretreatment(),new effect\ToneMapLinear(),new effect\AnalogFilmSimulation(),new effect\CammaCorrection()]; echo $film; ?>