Page 1 of 1

Triplanar sampler texture array error

PostPosted: Thu Feb 14, 2019 4:57 am
by nuzly
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!

Re: Triplanar sampler texture array error

PostPosted: Thu Feb 14, 2019 3:58 pm
by Amplify_Borba
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.

Re: Triplanar sampler texture array error

PostPosted: Fri Apr 05, 2019 11:08 am
by Amplify_Borba
Apologies for the delay in our response, just leaving the note here that the issue has already been solved in the latest builds!