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 committed by Philipp Oeser
parent c0640ddff9
commit 5e372fca7c
Notes: blender-bot 2023-02-13 13:22:28 +01:00
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3
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;
}