Eevee: Fix Shader compilation.
This commit is contained in:
parent
3be8ab881e
commit
ebc2833ca1
|
@ -14,7 +14,7 @@ Closure nodetree_exec(void)
|
|||
|
||||
Closure result = Closure(radiance, 1.0, vec4(ssr_spec, roughness), normal_encode(normalize(viewNormal), viewCameraVec), 0);
|
||||
|
||||
#if !defined(USE_ALPHA_BLEND)
|
||||
#if !defined(USE_ALPHA_BLEND) && !defined(USE_ALPHA_HASH) && !defined(USE_ALPHA_CLIP)
|
||||
result.opacity = length(viewPosition);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue