Triplanar sampler texture array error

Node-based Shader Editor

Triplanar sampler texture array error

Postby nuzly » Thu Feb 14, 2019 4:57 am

Hello! I'm trying to set up some triplanar mapping with a texture array on the LWRP in unity, v2018.3.5f1 Getting the error below, perhaps i missed something?

Shader error in 'AMP_TRIPLANAR_LW': unrecognized identifier 'UNITY_ARGS_TEX2DARRAY' at line 76 (on d3d11)

Compiling Vertex program
Platform defines: UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY 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_DLDR_ENCODING

Line 76 contains;
inline float4 TriplanarSamplingSFA( UNITY_ARGS_TEX2DARRAY( topTexMap ), float3 worldPos, float3 worldNormal, float falloff, float tilling, float3 normalScale, float3 index )

Image

Some advice appreciated. Cheers!
nuzly
 
Posts: 1
Joined: Thu Feb 14, 2019 4:24 am

Re: Triplanar sampler texture array error

Postby Amplify_Borba » Thu Feb 14, 2019 3:58 pm

Hello, thank you for getting in touch and for your support!

We've confirmed the issue and will proceed to investigate it as soon as possible, it might be specific to the LW RP but we'll be sure to let you know as soon as we have any developments.
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

Re: Triplanar sampler texture array error

Postby Amplify_Borba » Fri Apr 05, 2019 11:08 am

Apologies for the delay in our response, just leaving the note here that the issue has already been solved in the latest builds!
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 5 guests