EEVEE: Fix attributes node on Alpha Clip/Hashed materials

This was cause by a missing implementation of some post
processing attribute functions. Leading to unresolved reference.
This commit is contained in:
Clément Foucault 2022-09-05 15:58:23 +02:00
parent 19b9ea72b0
commit dd19d6456a
Notes: blender-bot 2023-02-13 14:35:48 +01:00
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3
Referenced by issue #100811, Attribute node breaks EEVEE transparency
1 changed files with 14 additions and 0 deletions

View File

@ -91,3 +91,17 @@ void main()
}
#endif
}
/* Passthrough. */
float attr_load_temperature_post(float attr)
{
return attr;
}
vec4 attr_load_color_post(vec4 attr)
{
return attr;
}
vec4 attr_load_uniform(vec4 attr, const uint attr_hash)
{
return attr;
}