Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

HDRP/Cant get Reflection Bufers in VFX graph shaders(view direction etc)

Discussion in 'Editor & General Support' started by bugaj, Jan 16, 2020.

  1. bugaj

    bugaj

    Joined:
    Jun 28, 2015
    Posts:
    41
    When I'm trying to use dot product view direction and normal in the lit shader (visual effects master, output lit quad, output lit mesh) with newest packages(I've tried with a new project, and new VFX graphs) VFX graph doesn't compile and the console is showing me this error message


    Shader error in 'Hidden/VFX/VFX_BloodPackTest/System 1/Output Particle Lit Quad': 'GetWorldSpaceNormalizeViewDir': no matching 0 parameter function at line 2558 (on d3d11)

    Compiling Vertex program with SHADOW_MEDIUM USE_CLUSTERED_LIGHTLIST
    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
     
unityunity