简体   繁体   English

Unity Shader Graph - HDRP DXR 不支持从高度法线

[英]Unity Shader Graph - Normal From Height not supported in HDRP DXR

When making a shader graph with HDRP and ray tracing 2021LTS, using the node Normal From Height , i got this error :当使用 HDRP 和光线追踪 2021LTS 制作着色器图时,使用节点Normal From Height ,我收到此错误:

'Normal From Height' node is not supported in ray tracing, please provide an alternate implementation, relying for instance on the 'Raytracing Quality' keyword Compiling Subshader: 1, Pass: VisibilityDXR, RayTracing program with _BLENDMODE_OFF...

How to implementation alternative solution with Custom Function or SubGraph ?如何使用自定义函数或子图实现替代解决方案?

This might not help much, but it might help a bit - I know it works on the Amplify shader graph.这可能没有多大帮助,但可能会有所帮助 - 我知道它适用于 Amplify 着色器图。 I just used it and I am also using 2021 LTS我刚用过,我也在用 2021 LTS

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM