SRP templates completly broken

Node-based Shader Editor

SRP templates completly broken

Postby JonL » Wed Mar 27, 2019 3:27 pm

Hey guys!
Just updated to unity 2018.3.9f1 and am using HDRP 4.1.0
I followed your instruction on how to install the SRP assets for HDRP and everything is pink now. The only shader template that works is the unlit one. The shader's included after adding in the HDRP nodes ( nodes first and not the legacy packages) none of them work.

Compiling both the lit and pbr templates doesn't work as it looks like theirs an error in the HDShadowAlgorithms.hlsl shader.

im attaching the errors I have:



Shader error in 'HD Lit Refraction': 'GetNormalWS': no matching 4 parameter function at line 252 (on d3d11)

Compiling Vertex program with DECALS_OFF
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_FULL_HDR

Shader error in 'HD Lit Refraction': 'GetNormalWS': no matching 4 parameter function at line 958 (on d3d11)

Compiling Vertex program with UNITY_PASS_SHADOWCASTER
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_FULL_HDR


Shader error in 'HD Lit Refraction': "Undefined punctual shadow filter algorithm" at /Production/Winter_cinematic_1.0/Winter_cinematic_trailer_content/Library/PackageCache/[email protected]/Runtime/Lighting/Shadow/HDShadowAlgorithms.hlsl(32) (on d3d11)

Compiling Vertex program with DECALS_3RT USE_CLUSTERED_LIGHTLIST SHADOW_LOW
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_FULL_HDR

Shader error in 'HD Lit Iridescence': invalid subscript 'geomNormalWS' at line 253 (on d3d11)

Compiling Vertex program with DECALS_OFF
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_FULL_HDR

Shader error in 'HD Lit Iridescence': invalid subscript 'geomNormalWS' at line 983 (on d3d11)

Compiling Vertex program with UNITY_PASS_SHADOWCASTER
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_FULL_HDR
JonL
 
Posts: 3
Joined: Wed Mar 27, 2019 3:12 pm

Re: SRP templates completly broken

Postby JonL » Thu Mar 28, 2019 1:56 pm

oh.. just noticed that the version i have is probably wrong on SRP.. tricky that you need to manually update it to 4.10.0
Hopefully this will fix my issue.
JonL
 
Posts: 3
Joined: Wed Mar 27, 2019 3:12 pm

Re: SRP templates completly broken

Postby JonL » Thu Mar 28, 2019 2:02 pm

yes this fixed it. Unfortunately Unity by default unity pulls in 4.1.0 for the SRP in the package manager. You need to switch it to 4.10.0 and update. Then everything is working fine!
JonL
 
Posts: 3
Joined: Wed Mar 27, 2019 3:12 pm

Re: SRP templates completly broken

Postby Amplify_Borba » Tue Apr 02, 2019 1:08 pm

Hey there, thank you for getting in touch and for letting us know that you've dealt with the issue!

Also, please note that whenever you update ASE, you should always re-extract the unity packages containing the shader templates for the SRP verson being used in order to update the templates should there be any fixes or improvements made to them.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 0 guests

cron