Fix EEVEE-Next: Linking error cause by closure_to_rgba

This commit is contained in:
Clément Foucault 2023-10-13 19:25:11 +02:00
parent 71835808d3
commit 3a998fc461
2 changed files with 10 additions and 0 deletions

View File

@ -19,6 +19,11 @@
#pragma BLENDER_REQUIRE(eevee_sampling_lib.glsl)
#pragma BLENDER_REQUIRE(eevee_shadow_tilemap_lib.glsl)
vec4 closure_to_rgba(Closure cl)
{
return vec4(0.0);
}
void main()
{
#ifdef MAT_TRANSPARENT

View File

@ -14,6 +14,11 @@
#pragma BLENDER_REQUIRE(eevee_nodetree_lib.glsl)
#pragma BLENDER_REQUIRE(eevee_colorspace_lib.glsl)
vec4 closure_to_rgba(Closure cl)
{
return vec4(0.0);
}
void main()
{
/* Clear AOVs first. In case the material renders to them. */