LWRPScriptableRenderPass_ExampleLibrary icon indicating copy to clipboard operation
LWRPScriptableRenderPass_ExampleLibrary copied to clipboard

The type or namespace name 'LWRP' does not exist

Open jBachalo opened this issue 6 years ago • 1 comments

Hi Trying to open the project using Unity 2018.3.7f1 and LWRP 4.8.0-preview.

Am getting several compile errors all relating to a missing LWRP package ie using UnityEngine.Rendering.LWRP; using UnityEngine.Experimental.Rendering.LWRP;

jBachalo avatar Mar 13 '19 17:03 jBachalo

Update For both BlurGrabPass and PlanarReflection modified the following

using UnityEngine.Rendering.LWRP;
using UnityEngine.Experimental.Rendering.LWRP;

to

using UnityEngine.Experimental.Rendering;
using UnityEngine.Experimental.Rendering.LightweightPipeline;

and also mofied the method signature for LightweightRenderPipeline.RenderSingleCamera in PlanarReflection.cs to

LightweightRenderPipeline.RenderSingleCamera(pipelineInstance, context, camera, ref m_CullResults, camera.GetComponent<IRendererSetup>());

and added a private variable in PlanarReflections CullResults m_CullResults;

BlurryRefractions is now working and no compile errors, however the other 2 demos are not. I assume my method call to RenderSingleCamera is still wrong.

jBachalo avatar Mar 13 '19 18:03 jBachalo