disguise-one / RenderStream-Unity

RenderStream plugin for Unity
BSD 3-Clause "New" or "Revised" License
38 stars 14 forks source link

Shader error when compiling sample unity template. #17

Closed Le0nLyn closed 2 years ago

Le0nLyn commented 2 years ago

Unity Version: 2019.4.32f1 I get this error when compiling the Universal Render Pipeline template from unity. How can I fix this?

Shader error in 'Hidden/Shader/DisguiseColourFramePostProcess': failed to open source file: 'Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl' at line 11 (on d3d11)

Compiling Vertex program Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENC

Le0nLyn commented 2 years ago

nvm - this is a unity issue. I had to reinstall HDRP package.